You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the "math" structure of the standard basis library. Per SML basis it has the following interface:
type real
val pi : real
val e : real
val sqrt : real -> real
val sin : real -> real
val cos : real -> real
val tan : real -> real
val asin : real -> real
val acos : real -> real
val atan : real -> real
val atan2 : real * real -> real
val exp : real -> real
val pow : real * real -> real
val ln : real -> real
val log10 : real -> real
val sinh : real -> real
val cosh : real -> real
val tanh : real -> real
Example use:
Math.ln 1.0;
val it = 0.0 : real;
The text was updated successfully, but these errors were encountered:
In the previous commit a2e20dd, we started on the Real structure (supporting floating point arithmetic), adding constants Real.posInf and Real.negInf. More of the Real structure will follow shortly.
Implement the "math" structure of the standard basis library. Per SML basis it has the following interface:
Example use:
The text was updated successfully, but these errors were encountered: