@@ -22,7 +22,7 @@ are your tuples so big?
22@docs not, (&&), (||), xor, otherwise
22@docs not, (&&), (||), xor, otherwise
24# Mathematics
24# Mathematics
25−@docs (+), (-), (*), (/), (^), (//), rem, (%), abs, sqrt, clamp, logBase, e
25+@docs (+), (-), (*), (/), (^), (//), rem, (%), negate, abs, sqrt, clamp, logBase, e
27# Trigonometry
27# Trigonometry
28@docs pi, cos, sin, tan, acos, asin, atan, atan2
28@docs pi, cos, sin, tan, acos, asin, atan, atan2
@@ -161,6 +161,10 @@ atan2 = Native.Basics.atan2
161sqrt : Float -> Float
161sqrt : Float -> Float
162sqrt = Native.Basics.sqrt
162sqrt = Native.Basics.sqrt
164+{-| Negate any number: `negate 42 == -42` -}
165+negate : number -> number
164{-| Take the absolute value of a number. -}
168{-| Take the absolute value of a number. -}
165abs : number -> number
169abs : number -> number
166abs = Native.Basics.abs
170abs = Native.Basics.abs