mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
core: add implements for FloatRef comparators
This commit is contained in:
parent
c569666a0a
commit
058ef11f9c
@ -111,10 +111,13 @@ The margin of error is 0.00001.")
|
||||
(defmodule FloatRef
|
||||
(defn = [a b]
|
||||
(Float.= @a @b))
|
||||
(implements = FloatRef.=)
|
||||
|
||||
(defn < [a b]
|
||||
(Float.< @a @b))
|
||||
(implements < FloatRef.<)
|
||||
|
||||
(defn > [a b]
|
||||
(Float.> @a @b))
|
||||
(implements > FloatRef.>)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user