[BUGLET] in Float>raisedTo:

sqrmax at cvtci.com.ar sqrmax at cvtci.com.ar
Fri Feb 19 23:01:13 UTC 1999


Hi.

>I would vote for something like: [...]
>	^(aNumber asFloat * self abs ln) exp * self sign
>"Otherwise raise it to the power using logarithms"

Don't forget to check if self = 0.0... it's not correct to send ln to 0.0.

Andres.





More information about the Squeak-dev mailing list