The round function work good. But with trunc the access to the SSE States in MXCSR register cause a SIGSEV when try to store the currents flag. "stmxcsr _bakMXCSR" (see in TGLZVector4f) and without do this but instead taking _OldMXCSR global (see in TGLZVector2f) for comparing. FPC compiler return an error without any clues.
The round function work good. But with trunc the access to the SSE States in MXCSR register cause a SIGSEV when try to store the currents flag. "stmxcsr _bakMXCSR" (see in TGLZVector4f) and without do this but instead taking _OldMXCSR global (see in TGLZVector2f) for comparing. FPC compiler return an error without any clues.