wp 34s exponent limits? « Next Oldest | Next Newest »

 ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-26-2012, 11:05 AM was playing around with large numbers on my wp 34s. noticed something interesting. i seem not to be able to directly enter exp larger than 299. but it seems the calculator will handle up to exp 384. Kinda unexpected given that 42s went up to exp 499.. did i miss something? Edited: 26 Aug 2012, 11:16 a.m. ▼ Jim Yohe Unregistered Posts: 198 Threads: 17 Joined: Oct 2010 08-26-2012, 12:01 PM Even the lowly 10bII+ will do E499. ;-) ▼ Gerson W. Barbosa Unregistered Posts: 2,761 Threads: 100 Joined: Jul 2005 08-26-2012, 12:30 PM Try to compute 449! on the HP 10bII+. On the WP 34S (DBLON) I get 3.851930518028072576321584769129658e997 or try 2123!: 1.479907299403249333203306687282144e6143 :-) Edited: 26 Aug 2012, 12:43 p.m. Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-26-2012, 12:19 PM Please read page 38f of TFM for the limits and p. 156f for the reasons. By turning to double precision real numbers you can go up to 10^6145 (see p. 177). Sufficient for your needs? ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-26-2012, 12:42 PM i see. thanks ;) Jean-Michel Unregistered Posts: 191 Threads: 41 Joined: Jun 2007 08-26-2012, 05:42 PM Hello all, I take the opportunity of this thread to ask you this humble question: does such a large (and the word is weak) number (10^6145) make sense ? I mean: is there anything we could measure or count that would require such a number? I guess that even the number of elementary particles in the whole universe (at least as we currently know it) is far below this number. I would be very glad if someone could enlighten me on this topic! Many thanks advanced. Cheers. Jean-Michel ▼ LHH Unregistered Posts: 91 Threads: 13 Joined: May 2012 08-26-2012, 07:38 PM I thought I read that the current estimate of elementary particles in the Universe is something like 10^80. htom trites jr Unregistered Posts: 66 Threads: 2 Joined: Aug 2007 08-26-2012, 07:43 PM Numbers with huge exponents are useful even if they are not useful for counting things (note that floating point is a poor scheme for counting things.) Mostly they're useful for doing computations without worrying about exponent overflow/underflow problems. Not there are not of other pitfalls in doing floating point computations.Details of FP computation woes .... Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-27-2012, 02:48 AM Bonjour Jean-Michel, Our double precision format follows a standard format (voir p. 177 svp.). The maximum exponent is a mere consequence. Of course we could have reduced it by two bits so we'd have got something like 10^(+/-1500), so anybody may safely enter 10^999 at least ;-) By deviating from "decimal128" (voir Wikipedia svp.) there may have arisen SW problems - but ask Pauli about this :-) ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-27-2012, 04:01 AM We could have used a different format reals, the SW implications there aren't great. I did think about a fifteen digit real format which would have allowed us to distinguish strings from reals (but not integers from either). I'd prefer to be able to claim to be IEEE-854 compatible however. - Pauli ▼ Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-27-2012, 04:11 AM Quote: I'd prefer to be able to claim to be IEEE-854 compatible however. IEEE-754 sounds better ;-) ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-27-2012, 04:13 AM IEEE 754-2008 :-) - Pauli ▼ Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-27-2012, 04:15 AM Quote: IEEE 754-2008 :-) Would you ever refer to anything other than the valid edition of a standard? I won't even think of it ;-) Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-26-2012, 05:42 PM The exponent range support is a function of the floating point format used. You can enter exponents larger than 299 -- all the way to 384 in fact. In double precision mode, a different format is used which increases the exponent range. - Pauli ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-26-2012, 07:10 PM so you really can enter up to exp 384 in SP mode? It wont let me do it. I can only enter 299 directly. But when i multiply that by say 1e50 i do get exp 349. What am i doing wrong? ;( ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-26-2012, 07:47 PM What firmware version? On version 3225, I press EEX 3 8 4 and it works fine. - Pauli ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-26-2012, 08:37 PM firmware 3.13233 Hmm. now it does let me enter it directly... maybe i was in some wierd mode earlier? maybe because I reseted it? well, if it happens again i will try to replicate and post my findings. I couldve sworn that i couldn't enter exp 384 directly earlier and that it only let me entered up to 299.... Edited: 26 Aug 2012, 8:44 p.m. ▼ Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-27-2012, 02:53 AM Oiiiek wildpig, Just watch the exponent during digit entry :-) wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-27-2012, 05:08 PM not related directly to exp. I tried to do inverse tan on infinity. it crashed on me. ;( should i ve set some flag so that it might give pi/2 approximation as the answer? Also interestingly, tan (pi/2) give something to the exp of 15.... ▼ fhub Unregistered Posts: 1,216 Threads: 75 Joined: Jun 2011 08-27-2012, 05:23 PM Quote: not related directly to exp. I tried to do inverse tan on infinity. it crashed on me. ;( should i ve set some flag so that it might give pi/2 approximation as the answer? Also interestingly, tan (pi/2) give something to the exp of 15.... I guess you're confusing the WP34s with a CAS calculator. ;-) ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-27-2012, 05:39 PM no, i am not expecting it to give me pi/2 as the answer to inv tan (inf). but i was expecting something like an approximation of pi/2. Also when i do tan (pi/2), was expecting inf and not some wierd something to exp 15 as an answer. Also it shouldn't crash when i do inv tan (inf).... ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-27-2012, 05:50 PM tan(pi/2) isn't infinity in limited precision. The value for pi/2 is rounded appropriately. ```pi/2 is roughly 1.5707963267948966192313216916397514420985... when rounded it is 1.5707963267948970000000000000000000000000... ``` The tan of this latter value isn't infinite.... - Pauli ▼ wildpig Unregistered Posts: 134 Threads: 21 Joined: Dec 2007 08-27-2012, 06:08 PM I guess that would be the case why tan of approximated pi/2 is not inf. maybe i should stop taking inv tan of inf since it will crash ;) ▼ Walter B Unregistered Posts: 4,587 Threads: 105 Joined: Jul 2005 08-28-2012, 03:53 AM Oiiiik wildpig, Pauli repaired it. Try TAN^(-1) of -infinity now and you'll get -90 degrees on the WP 34S :-) ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-28-2012, 04:05 AM It was meant to do this all along but a typo got in the way.... - Pauli Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 08-27-2012, 05:39 PM Yes this is a bug :-( Fixed in the sources. A new build will happen eventually. - Pauli ▼ Marcus von Cube, Germany Unregistered Posts: 3,283 Threads: 104 Joined: Jul 2005 08-28-2012, 02:48 PM I've updated the release package. Pascal has recompiled the multi-platform emulators, too.

 Possibly Related Threads… Thread Author Replies Views Last Post [WP-34S] Unfortunate key damage with update to V3 :( svisvanatha 5 3,151 12-10-2013, 11:37 PM Last Post: Les Bell WP-34S (Emulator Program Load/Save) Barry Mead 1 1,784 12-09-2013, 05:29 PM Last Post: Marcus von Cube, Germany DIY HP 30b WP 34s serial flash/programming cable Richard Wahl 2 2,498 12-04-2013, 11:14 AM Last Post: Barry Mead [HP Prime] Using n-root symbol and exponent problem uklo 7 2,856 11-11-2013, 01:39 AM Last Post: Alberto Candel WP 34S/43 ?'s Richard Berler 3 2,033 11-10-2013, 02:27 AM Last Post: Walter B My FrankenCulator (wp-34s) FORTIN Pascal 4 2,115 11-09-2013, 06:18 PM Last Post: FORTIN Pascal WP 34S Owner's Handbook Walter B 5 2,644 11-09-2013, 05:34 PM Last Post: Harald wp 34s overlay and programming. FORTIN Pascal 6 2,864 11-08-2013, 01:28 PM Last Post: Nick_S m.dy in display of WP-34S Harold A Climer 3 1,915 11-05-2013, 11:28 AM Last Post: Andrew Nikitin WP 34s : An old problem coming back Miguel Toro 2 1,716 11-05-2013, 03:00 AM Last Post: Marcus von Cube, Germany

Forum Jump: