rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

airy_dai bigfloat returns double #4209

Open rtoy opened 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-09 20:04:25 Created by fateman on 2024-01-03 18:03:48 Original: https://sourceforge.net/p/maxima/bugs/4239


airy_dai does not produce a bigfloat, but only a double. See (%i37) fpprec:40$ (%i38) airy_dai(1.5d0);

(%o38) -0.09738201284230132 (%i39) ?print(%);

-0.09738201284230132

build_info(version="5.47.0",timestamp="2023-06-02 20:31:42",host="x86_64-w64-mingw32",lisp_name="SBCL",.....

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-09 20:04:26 Created by rtoy on 2024-01-03 18:17:14 Original: https://sourceforge.net/p/maxima/bugs/4239/#a49e


I think you have a typo there. You wrote 1.5d0. You probably wanted 1.5b0. Then I get:

(%i2) airy_dai(1.5b0);
Evaluation took 0.0800 seconds (0.0800 elapsed) using 7.668 MB.
(%o2)           - 9.738201284230131921848421820244994177609b-2
rtoy commented 2 months ago

Imported from SourceForge on 2024-07-09 20:04:29 Created by macrakis on 2024-01-03 20:24:52 Original: https://sourceforge.net/p/maxima/bugs/4239/#23c6