pi and e

2010-10-05 Thread Jon Kleiser
Hi, I may have asked this earlier .. If so, maybe it should be in the FAQ .. What's the standard way of obtaining math constants pi and e? Are they predefined somewhere? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: pi and e

2010-10-05 Thread Alexander Burger
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