|
From: Volker v. N. <vol...@gm...> - 2016-01-27 08:24:06
|
Am 27.01.2016 um 09:04 schrieb Jaime Villate: > And this also looks odd: > > (%i3) float(exp(10000.)); > (%o3) 8.806818225658306b4342 > (%i4) float(exp(10000.0)); > > float: floating point overflow converting 8.806818225662922b4342 > -- an error. To debug this try: debugmode(true); > A integer terminated by a point is read as an integer in base 10. This syntax (Lisp and Maxima) is extremely helpful when working with ibase set to e.g. hex base 16. It follows that in your examples float sees different things. (%i1) exp(10000.); (%o1) %e^10000 (%i2) exp(10000.0); (%o2) 8.806818225662922b4342 Volker > Jaime > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |