@@ -21,25 +21,26 @@ namespace LIBC_NAMESPACE_DECL {
21
21
22
22
static constexpr size_t N_EXCEPTS = 8 ;
23
23
24
- static constexpr fputil::ExceptValues<float16, N_EXCEPTS> ASINHF16_EXCEPTS{
25
- {// (input, RZ output, RU offset, RD offset, RN offset)
26
-
27
- // x = 0x1.da4p-2, asinhf16(x) = 0x1.ca8p-2 (RZ)
28
- {0x3769 , 0x372a , 1 , 0 , 1 },
29
- // x = 0x1.d6cp-1, asinhf16(x) = 0x1.a58p-1 (RZ)
30
- {0x3b5b , 0x3a96 , 1 , 0 , 0 },
31
- // x = 0x1.c7cp+3, asinhf16(x) = 0x1.accp+1 (RZ)
32
- {0x4b1f , 0x42b3 , 1 , 0 , 0 },
33
- // x = 0x1.26cp+4, asinhf16(x) = 0x1.cd8p+1 (RZ)
34
- {0x4c9b , 0x4336 , 1 , 0 , 1 },
35
- // x = -0x1.da4p-2, asinhf16(x) = -0x1.ca8p-2 (RZ)
36
- {0xb769 , 0xb72a , 0 , 1 , 1 },
37
- // x = -0x1.d6cp-1, asinhf16(x) = -0x1.a58p-1 (RZ)
38
- {0xbb5b , 0xba96 , 0 , 1 , 0 },
39
- // x = -0x1.c7cp+3, asinhf16(x) = -0x1.accp+1 (RZ)
40
- {0xcb1f , 0xc2b3 , 0 , 1 , 0 },
41
- // x = -0x1.26cp+4, asinhf16(x) = -0x1.cd8p+1 (RZ)
42
- {0xcc9b , 0xc336 , 0 , 1 , 1 }}};
24
+ static constexpr fputil::ExceptValues<float16, N_EXCEPTS> ASINHF16_EXCEPTS{{
25
+ // (input, RZ output, RU offset, RD offset, RN offset)
26
+
27
+ // x = 0x1.da4p-2, asinhf16(x) = 0x1.ca8p-2 (RZ)
28
+ {0x3769 , 0x372a , 1 , 0 , 1 },
29
+ // x = 0x1.d6cp-1, asinhf16(x) = 0x1.a58p-1 (RZ)
30
+ {0x3b5b , 0x3a96 , 1 , 0 , 0 },
31
+ // x = 0x1.c7cp+3, asinhf16(x) = 0x1.accp+1 (RZ)
32
+ {0x4b1f , 0x42b3 , 1 , 0 , 0 },
33
+ // x = 0x1.26cp+4, asinhf16(x) = 0x1.cd8p+1 (RZ)
34
+ {0x4c9b , 0x4336 , 1 , 0 , 1 },
35
+ // x = -0x1.da4p-2, asinhf16(x) = -0x1.ca8p-2 (RZ)
36
+ {0xb769 , 0xb72a , 0 , 1 , 1 },
37
+ // x = -0x1.d6cp-1, asinhf16(x) = -0x1.a58p-1 (RZ)
38
+ {0xbb5b , 0xba96 , 0 , 1 , 0 },
39
+ // x = -0x1.c7cp+3, asinhf16(x) = -0x1.accp+1 (RZ)
40
+ {0xcb1f , 0xc2b3 , 0 , 1 , 0 },
41
+ // x = -0x1.26cp+4, asinhf16(x) = -0x1.cd8p+1 (RZ)
42
+ {0xcc9b , 0xc336 , 0 , 1 , 1 }
43
+ }};
43
44
44
45
LLVM_LIBC_FUNCTION (float16, asinhf16, (float16 x)) {
45
46
using FPBits = fputil::FPBits<float16>;
0 commit comments