Sha256: 3c2d6bd17386013d383b00bc15db36ba920a3b9517d2629c362b7c0ca56f7606

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

class Float {
  """
  Standard class for floating point number values in Fancy.
  """

  include: Number

  forwards_unary_ruby_methods

  ruby_aliases: [ '+, '-, '*, '/, '==, '<, '>, '<=, '>=, '**]

  alias_method: 'modulo: for: 'modulo
  alias_method: ":%" for: "modulo:" # use a : so we dont overwrite ruby's % operator
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fancy-0.10.0 lib/rbx/float.fy
fancy-0.9.0 lib/rbx/float.fy
fancy-0.8.0 lib/rbx/float.fy
fancy-0.7.0 lib/rbx/float.fy
fancy-0.6.0 lib/rbx/float.fy
fancy-0.5.0 lib/rbx/float.fy