Yes, I was considering this in the context of some approximation algorithms. Maybe one of the VM experts here could comment on the possibility to implement that? Am .01.2018, 10:00 Uhr, schrieb Serge Stinckwich <serge.stinckwich@gmail.com>:
On Mon, Jan 15, 2018 at 12:27 PM, Steffen Märcker <merkste@web.de> wrote:
Hi,
is there any way to set the rounding mode for IEEE floating point operations? Maybe something like
Double roundToMinusInfWhile: [... code goes here ...]Double
roundToZeroWhile: [... more code here ...]
If not, is it possible to add this behavior, e.g., via a custom primitive?
âThis might interesting to have something like that for PolyMath, but I'm a little worried of subtle consequences that might appear in UI if you use points for examples.â