Hi Jon,

> What's the standard way of obtaining math constants "pi" and "e"?
> Are they predefined somewhere?

Only 'pi' is explicitly defined, if you load "lib/math.l".
'e' is not there, but can be calculated dynamically:

   $ ./dbg lib/math.l
   : (format pi *Scl)
   -> "3.141593"
   : (format (exp 1.0) *Scl)
   -> "2.718282"

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
  • pi and e Jon Kleiser
    • Re: pi and e Alexander Burger

Reply via email to