Messages in this thread | | | Subject | Re: How to use floating point in a module? | From | Valdis.Kletnieks@vt ... | Date | Wed, 02 Jun 2004 15:31:22 -0400 |
| |
On Wed, 02 Jun 2004 00:52:57 CDT, ndiamond@despammed.com said:
> I'm not quite sure what that means. It was pretty easy to code a log2() > function using the built-in opcode, but it took me nearly a day to code > an exp2() function. The built-in f2xm1 opcode helps a lot but there's > no help for the other half exp2()'s lot.
I think what he meant was that if you get basic stuff like floating point add and subtract, all the other opcodes like f2xm1 work as well. If there isn't an opcode you're still have to build the code from the appropriate primitives, of course.... [unhandled content-type:application/pgp-signature] | |