number output precision
Posted: Fri Jan 04, 2008 9:28 am
My understanding is that newLISP outputs numbers (FP) to about 9 or 10 figures, although it stores up to about 15 internally:
It would be nice if there was a way to set the default output up to 15. It's sometimes less convenient to use format as well (think 'using newLISP as calculator....' ;-) )
Code: Select all
(set 't (sin 1.5))
0.9974949866
(format "%.15f" t)
"0.997494986604054"