10 lines
195 B
Text
10 lines
195 B
Text
|
defimpl Equality, for: Native.Float64, as: ->
|
||
|
|
||
|
def equals? other: Native.Float64, as: ->
|
||
|
Huia.Primitive.f64_equals(lhs: self, rhs: other)
|
||
|
end
|
||
|
|
||
|
def equals? other: Any, as: -> false
|
||
|
|
||
|
end
|