From: David S. <d.s...@go...> - 2022-12-23 22:22:17
|
Simpler testcase: (%i1) 2.0^1024; Maxima encountered a Lisp error: arithmetic error FLOATING-POINT-OVERFLOW signalled Automatically continuing. To enable the Lisp debugger set *debugger-hook* to nil. (%i2) 2.0^1024; (%o2) false Yet another type of answer: (%i3) %e^1000.0; (%o3) #.SB-EXT:DOUBLE-FLOAT-POSITIV*10^XT:DOUBLE-FLOAT-POSITIVE-INFINITY Am Fr., 23. Dez. 2022 um 23:06 Uhr schrieb David Scherfgen < d.s...@go...>: > Hello all, > > this is a very strange one: > > First try: > > (%i1) float(%e^1000); > Maxima encountered a Lisp error: > arithmetic error FLOATING-POINT-OVERFLOW signalled > Automatically continuing. > To enable the Lisp debugger set *debugger-hook* to nil. > > That's OK, I guess. But when we try the same again, we suddenly get > "false": > > (%i2) float(%e^1000); > (%o2) false > > I guess the first try changes some internal setting and fails to reset it, > so that the second try gives another (bogus) result? > > Best regards > David Scherfgen > |