tfw someone calls you an “expert”
-
-
OCaml isn't bad but floating-point is not its strong suit. It only implemented %a recently and had to map it to %h because it had used up %a
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Not exactly a REPL, but one-liner that fits in a tweet: $ cc -x c - <<< 'int main() { printf("%a\n", nextafterf(0.f,1.f)); }'; ./a.out
-
I have a simple RPN calculator for testing the std math functions that's built on a table of function pointers (common signatures ftw!).
-
Should probably post it somewhere...
End of conversation
New conversation -
-
-
In the proper REPL: 1> Float(0).nextUp.exponent $R0: Int = -149 2> Float(0).nextUp.significand $R1: Float = 1
End of conversation
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.