Overview
| Artifact ID: | 4a4fb788022d6ebff9ec7db5d16588fa990fb3f6 |
|---|---|
| Ticket: | 1839067fffffffffffffffffffffffffffffffff
fp rounding setup on opensolaris x86 |
| User & Date: | mic42 on 2009-02-28 07:32:06 |
Changes
- icomment:
To get around the libsunmath dependecy mentioned by tclguy one can use the libm based interface documented on x86 via the C99 fenv.h header and just libm. http://docs.sun.com/source/819-3693/ncg_lib.html #include <fenv.h> fesetprec(FE_DBLPREC); is like ieee_flags("set","precision","double",NULL); fesetprec(FE_LDBLPREC) is like the ieee_flags("clear"...) stuff. - login: "mic42"
- mimetype: "text/plain"
- username: "mic42"