Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/ruzzy.rb

Overview

Hook Integer operations for tracing in SantizerCoverage

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Object



105
106
107
108
# File 'lib/ruzzy.rb', line 105

def /(other)
  Ruzzy.c_trace_div8(other)
  ruzzy_divo(other)
end

#<(other) ⇒ Object



85
86
87
88
# File 'lib/ruzzy.rb', line 85

def <(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_lt(other)
end

#<=(other) ⇒ Object



90
91
92
93
# File 'lib/ruzzy.rb', line 90

def <=(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_le(other)
end

#<=>(other) ⇒ Object



80
81
82
83
# File 'lib/ruzzy.rb', line 80

def <=>(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_spc(other)
end

#==(other) ⇒ Object



65
66
67
68
# File 'lib/ruzzy.rb', line 65

def ==(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_eeql(other)
end

#===(other) ⇒ Object



70
71
72
73
# File 'lib/ruzzy.rb', line 70

def ===(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_eeeql(other)
end

#>(other) ⇒ Object



95
96
97
98
# File 'lib/ruzzy.rb', line 95

def >(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_gt(other)
end

#>=(other) ⇒ Object



100
101
102
103
# File 'lib/ruzzy.rb', line 100

def >=(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_ge(other)
end

#div(other) ⇒ Object



110
111
112
113
# File 'lib/ruzzy.rb', line 110

def div(other)
  Ruzzy.c_trace_div8(other)
  ruzzy_div(other)
end

#divmod(other) ⇒ Object



115
116
117
118
# File 'lib/ruzzy.rb', line 115

def divmod(other)
  Ruzzy.c_trace_div8(other)
  ruzzy_divmod(other)
end

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


75
76
77
78
# File 'lib/ruzzy.rb', line 75

def eql?(other)
  Ruzzy.c_trace_cmp8(self, other)
  ruzzy_eql?(other)
end

#ruzzy_divObject



62
# File 'lib/ruzzy.rb', line 62

alias ruzzy_div div

#ruzzy_divmodObject



63
# File 'lib/ruzzy.rb', line 63

alias ruzzy_divmod divmod

#ruzzy_divoObject



61
# File 'lib/ruzzy.rb', line 61

alias ruzzy_divo /

#ruzzy_eeeqlObject



54
# File 'lib/ruzzy.rb', line 54

alias ruzzy_eeeql ===

#ruzzy_eeqlObject



53
# File 'lib/ruzzy.rb', line 53

alias ruzzy_eeql ==

#ruzzy_eql?Object



55
# File 'lib/ruzzy.rb', line 55

alias ruzzy_eql? eql?

#ruzzy_geObject



60
# File 'lib/ruzzy.rb', line 60

alias ruzzy_ge >=

#ruzzy_gtObject



59
# File 'lib/ruzzy.rb', line 59

alias ruzzy_gt >

#ruzzy_leObject



58
# File 'lib/ruzzy.rb', line 58

alias ruzzy_le <=

#ruzzy_ltObject



57
# File 'lib/ruzzy.rb', line 57

alias ruzzy_lt <

#ruzzy_spcObject



56
# File 'lib/ruzzy.rb', line 56

alias ruzzy_spc <=>