Represents an exact number

Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "Number"
=
Active cells (details)
==(other)

compares this against the argument. should be overridden - in this case only used to check for equivalent number kinds

===(other)

nil

method(other, 
  if(self same?(
      0), 
    Reflector other:mimics?(cell(:other), 
      0), 
    bind(rescue(Condition Error, fn(c, false)), 
      self ==(
        other))))
abs()

Returns the absolute value of this number

method(
  if(self <(0), negation, self) 
  )
hash()

returns a hash for the number

negation()

Returns the negation of this number

method(
  0 -(@))
zero?()

Returns true if this number is zero.

method(
  @ ==(0) 
  )