Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a4fb788022d6ebff9ec7db5d16588fa990fb3f6
Ticket: 1839067fffffffffffffffffffffffffffffffff
fp rounding setup on opensolaris x86
User & Date: mic42 on 2009-02-28 07:32:06
Changes

  1. 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.
    
    
    
    
    
    
  2. login: "mic42"
  3. mimetype: "text/plain"
  4. username: "mic42"