[Vm-dev] Fwd: [Pharo-users] Set Rounding mode for IEEE floating point operations

Steffen Märcker merkste at web.de
Tue May 29 15:38:47 UTC 2018


Hi Levente,

I'll have a look, thanks for your suggestion! From your description, I  
assume, libraries as Freetype run in the same process, right? If so, a  
library changing those process-flags, might cause (maybe hidden) issues at  
other places as well.

Best, Steffen



Am .05.2018, 00:43 Uhr, schrieb Levente Uzonyi <leves at caesar.elte.hu>:

> Hi Steffen,
> I can only guess that there's some library (IIRC Pharo uses e.g.  
> FreeType)
> used by the VM setting the rounding mode for its own purposes.
> I would try to see if the rounding mode stays the same while vmParameter
> 56 (number of process switches since startup) stays the same. And if it  
> does, I'd use that to minimize the number of times the FFI call has to  
> be done to have the rounding mode you need. Because polling the  
> parameter is probably faster than the FFI call.
> Levente


More information about the Vm-dev mailing list