diff options
Diffstat (limited to 'sysdeps/ieee754/float128')
-rw-r--r-- | sysdeps/ieee754/float128/float128_private.h | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/float128/s_f32subf128.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/float128/s_f64subf128.c | 10 | ||||
-rw-r--r-- | sysdeps/ieee754/float128/s_f64xsubf128.c | 2 |
4 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h index eebf19a..7606026 100644 --- a/sysdeps/ieee754/float128/float128_private.h +++ b/sysdeps/ieee754/float128/float128_private.h @@ -258,6 +258,8 @@ #define __faddl __f32addf128 #define __daddl __f64addf128 +#define __fsubl __f32subf128 +#define __dsubl __f64subf128 /* __nexttowardf128 is not _Float128 API. */ #define __nexttowardl __nexttowardf128_do_not_use diff --git a/sysdeps/ieee754/float128/s_f32subf128.c b/sysdeps/ieee754/float128/s_f32subf128.c new file mode 100644 index 0000000..f1373f6 --- /dev/null +++ b/sysdeps/ieee754/float128/s_f32subf128.c @@ -0,0 +1,6 @@ +#define f32subf64x __hide_f32subf64x +#define f32subf128 __hide_f32subf128 +#include <float128_private.h> +#undef f32subf64x +#undef f32subf128 +#include "../ldbl-128/s_fsubl.c" diff --git a/sysdeps/ieee754/float128/s_f64subf128.c b/sysdeps/ieee754/float128/s_f64subf128.c new file mode 100644 index 0000000..89ef5a7 --- /dev/null +++ b/sysdeps/ieee754/float128/s_f64subf128.c @@ -0,0 +1,10 @@ +#define f32xsubf64x __hide_f32xsubf64x +#define f32xsubf128 __hide_f32xsubf128 +#define f64subf64x __hide_f64subf64x +#define f64subf128 __hide_f64subf128 +#include <float128_private.h> +#undef f32xsubf64x +#undef f32xsubf128 +#undef f64subf64x +#undef f64subf128 +#include "../ldbl-128/s_dsubl.c" diff --git a/sysdeps/ieee754/float128/s_f64xsubf128.c b/sysdeps/ieee754/float128/s_f64xsubf128.c new file mode 100644 index 0000000..64a0d6d --- /dev/null +++ b/sysdeps/ieee754/float128/s_f64xsubf128.c @@ -0,0 +1,2 @@ +#include <float128_private.h> +#include "../ldbl-128/s_f64xsubf128.c" |