According to Jan-Jaap van der Heijden:
`sin()' is not doing any checking, so you could replace it right away. But there are other functions that do some checking before calling the underlying OS function (like `ln')
GCC knows an optimzation switch -ffast-math, [...]
What about this:
For gpc-2.1: Drop `sin()' (without any alias) and other non-checking functions, but keep the `_p_foo()' variants for functions that *do* some checking.
For gpc-2.2: Drop the `_p_foo()' versions of all mathematical functions but those not supported by the OS (read: by `libc.a') and do the checking inline. Make `--fast-math' turn out the checking. (Things like this can be faced together with range checking in general.)
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]