Skip to content

Set Double Precision

marc365 edited this page Mar 25, 2026 · 3 revisions

When you add the Set Double Precision command you will see this warning: you can ignore this warning, or remove it by using the AMOS Professional Re-tokeniser in the User menu.

fxbox_precision

AMOS Professional has double precision math but this is unavailable in the compiler due to it crashing horribly - I've done some research it's using the stack and leaving something on a5? - I have a version of FxBox compiled with double precision, but the code needed heavy re-arrangments to stop it crashing that i'm not willing to do to the whole project, it doesn't prove it will be stable just because I can hack around the problem, it would also crash on exit. There was a bug in the compiler command line acomp.s that misses the version number opening the mathdoubbas.library - I added a version #0 to the code and tested, but I can see that this was disabled on purpose. The "Set Double Precision" command is also obscured in the help files and difficult to discover. Double precision works in the interpreted version without problems and is supported, it has some benefit to audio processing. It is worth fixing in the compiler.

Clone this wiki locally