I actually made progress: It works like a charm! Basically, I implemented��
the same code as you. Testing is straightforward (using the constant��
values from libc):
�� ��current := LibC fegetround.
�� ��LibC fesetround: FE_DOWNWARDS.
�� ��v1 := 1.0/10.0.
�� ��LibC feesetround: FE_UPWARDS.
�� ��v2 := 1.0/10.0.
�� ��LibC feesetround: current.
�� ��v1 < v2. "true"
> ���but apparently nothing happens when you do :
>�� ��LibC uniqueInstance fesetround: 1024.
>�� ��LibC uniqueInstance fegetround.
> always return 0.���
This is expected, since the fesetround function returns 0 only if the set��
operation was successful.
| "Programs must be written for people to read, and only incidentally for machines to execute." |