# HG changeset patch # User Bruno Haible # Date 1330949780 -3600 # Node ID 99dddd1393e97b7130e1f4bd42d728ebb0eade11 # Parent 7f3a9da7d85d03a02676115a4b2b34bb3fb433d4 fpucw: Doc about FreeBSD. * lib/fpucw.h: Mention FreeBSD in comments. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-05 Bruno Haible + + fpucw: Doc about FreeBSD. + * lib/fpucw.h: Mention FreeBSD in comments. + 2012-03-04 Bruno Haible sqrt* tests: More tests. diff --git a/lib/fpucw.h b/lib/fpucw.h --- a/lib/fpucw.h +++ b/lib/fpucw.h @@ -30,7 +30,8 @@ On some platforms, such as NetBSD, the default precision is set to "double precision". This means that 'long double' instructions will operate - only as 'double', i.e. lead wrong results. + only as 'double', i.e. lead to wrong results. Similarly on FreeBSD 6.4, at + least for the division of 'long double' numbers. The FPU control word is under control of the application, i.e. it is not required to be set either way by the ABI. (In fact, the i386 ABI