about summary refs log tree commit diff
path: root/sysdeps/generic/math-use-builtins-copysign.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/math-use-builtins-copysign.h')
-rw-r--r--sysdeps/generic/math-use-builtins-copysign.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/generic/math-use-builtins-copysign.h b/sysdeps/generic/math-use-builtins-copysign.h
new file mode 100644
index 0000000000..b774931f43
--- /dev/null
+++ b/sysdeps/generic/math-use-builtins-copysign.h
@@ -0,0 +1,7 @@
+/* Generic implementations for float and double always use the builtin.  */
+#define USE_COPYSIGNL_BUILTIN 1
+#if __GNUC_PREREQ (7, 0)
+# define USE_COPYSIGNF128_BUILTIN 1
+#else
+# define USE_COPYSIGNF128_BUILTIN 0
+#endif