Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

You can now completely disable the normal downscaling of floating point precision, from 64 to 48 bit for AMOS F6 compatibility, by setting the MX_ROUND factor to -1:

OP = 1         ! set

FACTOR = -1    ! special flag to disable downscaling

xcall MIAMEX, MX_ROUND, OP, FACTOR

 

This may be useful when dealing with values containing more than 11 signficant digits. Note that to be effective, you must also disable the FPROUND option—e.g. SET NOFPROUND. You should also add SIGNIFICANCE 16 to the program for printing unformatted values.

Note that the MX_ROUND factor persists across programs, so it only needs to be set once per session.