about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-07-11 11:47:56 -0300
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-12-03 13:30:42 -0300
commit80a19b003e2836abda4ad96721a40c6f7a32ab4c (patch)
tree3f7502129eb94a70f58f443946fd6d1ca0c0ffb2 /sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c
parent66fa30828a1eb3d96cb92c080fa0b7376bda9b11 (diff)
downloadglibc-80a19b003e2836abda4ad96721a40c6f7a32ab4c.tar.gz
glibc-80a19b003e2836abda4ad96721a40c6f7a32ab4c.tar.xz
glibc-80a19b003e2836abda4ad96721a40c6f7a32ab4c.zip
ldbl-128ibm-compat: Add tests for strfmon and strfmon_l
This patch adds elementary tests to check that strfmon and strfmon_l
correctly evaluate long double values with IBM Extended Precision and
IEEE binary128 format.

Tested for powerpc64le.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c
new file mode 100644
index 0000000000..5d1def86af
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-strfmon-ibm128.c
@@ -0,0 +1 @@
+#include <test-strfmon-ldbl-compat.c>