ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Math functions? (Particularly transcendental ones)
by Tim Conrow other posts by this author
Sep 14 2001 1:30AM messages near this date
Math functions? (Particularly transcendental ones) | RE: Math functions? (Particularly transcendental ones)
> Okay, I'm whipping together the "fancy math" section of the interpreter 

> assembley language. I've got:

>  ...

> Can anyone think of things I've forgotten? It's been a while since I've 

> done numeric work.


HP calculators sometimes define 

lnp1(x)  = ln(1 + x) 
expm1(x) = exp(x) - 1 

to deal accurately and quickly with the special case where x<<1. This may not be
useful in an environment of pseudo-infinite precision, unless speed begins to
matter alot. Maybe they could be called automagically when the compiler sees
something like the RHS of the above as an optimization.

--

-- Tim Conrow         tim@[...].edu                           |


Thread:
Dan Sugalski
Tim Conrow
David Whipp
Dan Sugalski
Uri Guttman
David Whipp
David Whipp
Benjamin Stuhl
Jeremy Howard
Brent Dax
Ariel Scolnicov
Michael G Schwern
Jeremy Howard
Brent Dax
Ariel Scolnicov
Michael G Schwern
Uri Guttman
Uri Guttman
Uri Guttman
Brian Wheeler
Bryan C. Warnock
Brian Wheeler
Dan Sugalski
Brian Wheeler
Uri Guttman
Dan Sugalski
Uri Guttman
Brian Wheeler
Dan Sugalski
Bryan C. Warnock
Dave Storrs
Uri Guttman
Wizard
Dan Sugalski
Uri Guttman
Buddha Buck
Wizard
Brian Wheeler
Dan Sugalski
Uri Guttman
Dan Sugalski
Brian Wheeler
John Siracusa
Bryan C. Warnock
Michael G Schwern
Uri Guttman
Michael G Schwern
Michael G Schwern
Bryan C. Warnock
Dan Sugalski
Uri Guttman
Buddha Buck
Dan Sugalski
Bart Lateur
Uri Guttman
Dan Sugalski
Bart Lateur
Uri Guttman
Uri Guttman
Dan Sugalski
Uri Guttman
Dan Sugalski

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved