Re: fesetround problem

2012-05-02 Thread Corinna Vinschen
On May 1 19:19, David Matthews wrote: > fesetround seems to be broken in the current version of Cygwin. It > returns EINVAL for any argument other than FE_TONEAREST. The > following snippet works fine on Debian wheezy but shows a non-zero > return in Cygwin. > > #include > #include > > int m

fesetround problem

2012-05-01 Thread David Matthews
fesetround seems to be broken in the current version of Cygwin. It returns EINVAL for any argument other than FE_TONEAREST. The following snippet works fine on Debian wheezy but shows a non-zero return in Cygwin. #include #include int main() { int r = fesetround(FE_TOWARDZERO); pri