I'm happy as long as it doesn't segfault. It probably has a problem because I'm using double precision (up to around e^180 is ok).
I added tests to check that it returns strings for medium (e^200) and large (e^65536) for all five float formats.
/ Mirar
Previous text:
2003-01-05 13:57: Subject: exp(511)
What kind of test did you have in mind? The correct result varies with what kind of floats you are using, and the printf function in the libc. I get
sprintf("%f", exp(511));
(1) Result: "Inf"
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)