From 06b20075dd3c1a5d0dd007a93643282832221612 Mon Sep 17 00:00:00 2001
From: John Hauser
John R. HauserBerkeley TestFloat Release 3d: General Documentation
+Berkeley TestFloat Release 3e: General Documentation
-2017 August 18
+2018 January 20
-The current version of TestFloat is
sqrtf
, sqrtl
,
-fmaf
, fma
, and fmal
.
+sqrtf
,
+sqrtl
, fmaf
, fma
, and fmal
.
+odd
and fixing a minor bug in
+the all-in-one testfloat
program.
@@ -124,7 +132,7 @@ bugs can be found through links posted on the TestFloat Web page,
The TestFloat package was written by me,
-The following applies to the whole of TestFloat
-Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017 The Regents of the +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the University of California. All rights reserved.
@@ -280,8 +288,9 @@ Any NaN is considered as good a result as another. This laxness can be overridden so that TestFloat checks for particular bit patterns within NaN results. See-checkNaNs
option documented
-for programs testfloat_ver
and testfloat
.
+Floating-Point Standard, plus the -checkNaNs
and
+-checkInvInts
options documented for programs
+testfloat_ver
and testfloat
.
@@ -585,13 +594,6 @@ Conversions to integer types are expected never to raise the overflow exception.
-
-When converting to an integer, if the rounding mode is odd
-(possible only when the rounding mode is not in the function name), TestFloat
-expects the result to be rounded not to an odd integer but rather to
-minimum magnitude, the same as when the rounding mode is minMag
.
-
@@ -691,13 +693,6 @@ This irregular system follows the IEEE Standard’s particular specification for the round-to-integer operations.
-
-If the rounding mode is odd
(possible only when the rounding mode
-is not in the function name), TestFloat expects the result to be rounded
-not to an odd integer but rather to minimum magnitude, the same as
-when the rounding mode is minMag
.
-
@@ -1131,7 +1126,12 @@ exception if the source value cannot be rounded to a representable integer.
In such cases, TestFloat expects the result value to be the largest-magnitude
positive or negative integer or zero, as detailed earlier in
-checkInvInts
is selected with programs
+testfloat_ver
and testfloat
, integer results of
+invalid operations are checked for an exact match.
+In order for this option to be sensible, TestFloat must have been compiled so
+that its internal floating-point implementation (SoftFloat) generates the
+proper integer results for the system being tested.
John R. Hauser
-2017 August 18
+2018 January 20
testfloat
program whereby
+function set -all1
incorrectly also tested the three-operand fused
+multiply-add operations.
+
+odd
(jamming) when
+rounding to an integer value (either conversion to an integer format or a
+‘roundToInt
’ function).
+Previously, for those cases only, rounding mode odd
was expected
+to act the same as rounding to minimum magnitude.
+Now, when rounding to an integer value, the nearest odd integer is expected,
+consistent with the round-to-odd result of other operations.
+
+-checkInvInts
and -checkAll
to programs
+testfloat_ver
and testfloat
.
+
+testfloat
program is compiled to test the C
-language's arithmetic, added the ability to test library functions
+language’s arithmetic, added the ability to test library functions
sqrtf
, sqrtl
, fmaf
, fma
,
and fmal
, which were added to the
John R. Hauser
-2017 August 18
+2018 January 20
@@ -120,7 +120,7 @@ and <stdint.h>
.
The TestFloat package was written by me,
-The following applies to the whole of TestFloat
-Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017 The Regents of the +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the University of California. All rights reserved.
@@ -224,6 +224,7 @@ build Linux-386-GCC Linux-386-SSE2-GCC Linux-x86_64-GCC + Linux-ARM-VFPv2-GCC Win32-MinGW Win32-SSE2-MinGW Win64-MinGW-w64 @@ -263,19 +264,19 @@ are intended to follow a naming system of For the example targets,<execution-environment>
Linux-386
Linux-386-SSE2
Linux-x86_64
Win32
,
+Linux-x86_64
Linux-ARM-VFPv2
Win32
,
Win32-SSE2
Win64
, and
<compiler>
GCC
,
MinGW
, or MinGW-w64
-At the current time, all of the supplied target directories are merely examples -that may or may not be correct for compiling on any particular system. +All of the supplied target directories are merely examples that may or may not +be correct for compiling on any particular system. There are currently no plans to include and maintain in the TestFloat package the build files needed for a great many users’ compilation environments, -which after all can span a broad range of operating systems, compilers, and -other tools. +which can span a huge range of operating systems, compilers, and other tools.
diff --git a/doc/testfloat.html b/doc/testfloat.html index 27736b8..f9404e0 100644 --- a/doc/testfloat.html +++ b/doc/testfloat.html @@ -7,11 +7,11 @@
-testfloat
testfloat
John R. Hauser
-2017 August 18
+2018 January 20
-checkInvInts
+The -checkInvInts
option causes testfloat
to verify
+the bitwise correctness of integer results of invalid operations.
+In order for this option to be sensible, testfloat
must have been
+compiled so that its internal reference implementation of floating-point
+(Berkeley SoftFloat) generates the proper integer results for the system being
+tested.
+
-checkAll
+Enables both -checkNaNs
and -checkInvInts
.
+
-precision32, -precision64, -precision80
diff --git a/doc/testfloat_gen.html b/doc/testfloat_gen.html index f4cb733..5190567 100644 --- a/doc/testfloat_gen.html +++ b/doc/testfloat_gen.html @@ -7,11 +7,11 @@
-testfloat_gen
testfloat_gen
John R. Hauser
-2017 August 18
+2018 January 20
testfloat_ver
testfloat_ver
John R. Hauser
-2017 August 18
+2018 January 20
-checkInvInts
+The -checkInvInts
option causes testfloat_ver
to
+verify the bitwise correctness of integer results of invalid operations.
+In order for this option to be sensible, testfloat_ver
must have
+been compiled so that its internal reference implementation of floating-point
+(Berkeley SoftFloat) generates the proper integer results for the system being
+tested.
+
-checkAll
+Enables both -checkNaNs
and -checkInvInts
.
+
-precision32, -precision64, -precision80
diff --git a/doc/testsoftfloat.html b/doc/testsoftfloat.html index 703d2fe..09e488b 100644 --- a/doc/testsoftfloat.html +++ b/doc/testsoftfloat.html @@ -7,11 +7,11 @@
-testsoftfloat
testsoftfloat
John R. Hauser
-2017 August 18
+2018 January 20
timesoftfloat
timesoftfloat
John R. Hauser
-2017 August 18
+2018 January 20