On Tue, Dec 25, 2001, Shlomi Fish wrote about "Re: Implementation of log(x) for SPARC32": > Actually, I checked it against the numbers in the range 0 .. 1, which is > my working range, and I discovered it returns very inaccurate results. > With some input from Ehud Karni, I wrote an improved function that uses a > different taylor series. Here it is for your reference:
Shlomi, I'm always happy to see someone excited about what they're doing, but sometimes you have to restrain yourself a bit... Please, before you publish codes here (and claiming that you've reinvented the wheel) 2-3 times a day, at least try to check that they actually work (and not "return very inaccurate results"). It would have been much better (at least if my opinion) if you tested your code thoroughly, compared it to other implementations, and so on, before you ask everyone to check it and/or tell you what they think about it. Frankly, seeing all the intermediate versions of your code is about as interesting as watching someone doing debugging, live on television ;) [2] It's made even less interesting by the fact that you're reinventing the wheel. If you gave us a buggy time-machine (as an example of something that hasn't been invented yet) this would have been interesting. But a buggy wheel? No thanks - I already have 4 non-buggy ones. [1] [1] Please resist replying with the joke that if I had a buggy, I would have wanted buggy wheels :) [2] Don't tell Matav this idea, or they'll add the "gdb channel" to their rediculous selection of useless channels and increase their prices! -- Nadav Har'El | Tuesday, Dec 25 2001, 11 Tevet 5762 [EMAIL PROTECTED] |----------------------------------------- Phone: +972-53-245868, ICQ 13349191 |I work for money. If you want loyalty, http://nadav.harel.org.il |buy yourself a dog. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]