When float128 support gets enabled for powerpc64le, the ULP errors for
float128 functions need to be presented in the manual. This patch adds
support for displaying them.
Tested for powerpc64le and s390x.
* manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
Enable generation of float128 entries on the error table.
+2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
+
+ * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
+ Enable generation of float128 entries on the error table.
+
2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* include/float.h: Include libc-header-start.h to get the
# all_floats is in output order and contains all recognised float types that
# we're going to output
-@all_floats = ('float', 'double', 'ldouble');
+@all_floats = ('float', 'double', 'ldouble', 'float128');
%suffices =
( 'float' => 'f',
'double' => '',
- 'ldouble' => 'l'
+ 'ldouble' => 'l',
+ 'float128' => 'f128'
);
# Pretty description of platform
$ignore_fn = 0;
$all_functions{$test} = 1;
}
- if (/^i?(float|double|ldouble):/) {
+ if (/^i?(float|double|ldouble|float128):/) {
($float, $eps) = split /\s*:\s*/,$_,2;
if ($ignore_fn) {
next;