HP35s Revisited Trig Quandary Bug # 2
|
02-17-2015, 06:00 PM
Post: #14
|
|||
|
|||
RE: HP35s Revisited Trig Quandary Bug # 2
(02-17-2015 05:41 PM)Thomas Klemm Wrote:(02-16-2015 11:53 PM)MarkHaysHarris777 Wrote: So, here is COS(89.9999) calculated to 500 digits: Your answer is wrong-- again, I'm shocked. The last five digits are not correct; should be ... 448, 608, 060, 010, 428, 3... mpmath is a fabulous package (depending on what else is installed with it (gmpy, sage) but the main problem with it (for my purposes) is speed. mpmath uses Python's long integers by default (not the new Decimal module). Consequently, its too slow for calculating millions of digits of PI, or multiple transcendentals of hundreds of thousands of digits (not that many people except geeks like me do that, I get it). its been a while since I looked into mpmath as a package; my interest was the new C implementation of the Decimal module for Python 3.2+ because it is incredibly fast! I'm using Python 3.4 now, and the Decimal module there screams. Just say'n. Having said all of that, I must admit that I have not run mpmath with gmpy, nor sage. So, I don't have a fair comparison. Cheers, marcus Kind regards, marcus |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)