diff options
Diffstat (limited to 't/op/hexfp.t')
-rw-r--r-- | t/op/hexfp.t | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/t/op/hexfp.t b/t/op/hexfp.t index d6c0482886..c4c08cc3f0 100644 --- a/t/op/hexfp.t +++ b/t/op/hexfp.t @@ -245,8 +245,11 @@ SKIP: # [perl #128919] limited exponent range in hex fp literal with long double SKIP: { - skip("nv_preserves_uv_bits is $Config{nv_preserves_uv_bits} not 64", 4) - unless ($Config{nv_preserves_uv_bits} == 64); + skip("non-80-bit-long-double", 4) + unless ($Config{uselongdouble} && + ($Config{nvsize} == 16 || $Config{nvsize} == 12) && + ($Config{longdblkind} == 3 || + $Config{longdblkind} == 4)); is(0x1p-1074, 4.94065645841246544e-324); is(0x1p-1075, 2.47032822920623272e-324, '[perl #128919]'); is(0x1p-1076, 1.23516411460311636e-324); |