1. RE: bignum v0.8
- Posted by George Orr <gorr at woh.rr.com> Oct 25, 2002
- 451 views
Kat - If you get the chance, adding a log() and power() functions would be very useful. During the last contest, my ill-fated entry used the log() function to create a hash function that provided unique hashes for each pattern, except where the precision of the log()function smooched things together. With the higher precision log() and power() functions, I would be able to recover the pattern from the hash value. This wouldn't have helped my chance of winning, of course. I had to resort to so many tricks to try to keep up with the winning Euphoria speed freaks that I actually introduced an error on entries with non-alphabetical characters. Such is life when you get in a hurry! Thanks for the bignum work. Looks like it could be very useful! Kat wrote: > Ok, it seems to be working, but is PRE-RELEASE and isn't done yet, but > seems to work. It's at: > > www.pell.net/warning/ai/bignum_8.zip > > There is a short readme in the zip. It needs get.e, which is included in > the > zip. There's a few more functions than the basic 4 maths, and i'll > prolly be > adding more as needed, like (square, cube, quad, etc) roots (useful), > and > (not quite as useful, but if it's easy...) translations to a few > geometry > functions like sin, cos, tan. > > Kat > >