Message9804
Logged In: YES
user_id=33168
I don't have the directory /opt/SUNWspro.
I did a: find /opt -name '*sunmath*' -print
and got nothing. Also looked for *ieee*,
nm /usr/lib/lib*.a also yields nothing.
But there is fpsetmask() now. And there's
#include <floatingpoint.h> or <sys/ieeefp.h>
I think the code needs to be rewritten, but I'm
not sure what to do. I think the whole code in
#ifdef sun, should be something like this (for solaris 8 only):
#include <floatingpoint.h>
sigfpe(FPE_FLTOVF, handler);
sigfpe(FPE_FLTDIV, handler);
sigfpe(FPE_FLTUBV, handler);
or
#include <ieeefp.h>
fpsetmask(FP_X_INV | FP_X_OFL | FP_X_DZ);
PyOS_setsig(SIGFPE, handler);
But that's a guess from the man pages.
Are there any tests for fpectl? |
|
Date |
User |
Action |
Args |
2007-08-23 13:59:55 | admin | link | issue532618 messages |
2007-08-23 13:59:55 | admin | create | |
|