don't run one example on 32-bit machines (#17655)

This example seems to break our 32-bit nightlies builds.

This is just a temporary solution (TM) until we figure out a better one.
This commit is contained in:
Miran
2021-04-06 18:52:12 +02:00
committed by GitHub
parent e406e28738
commit 020c0a3344

View File

@@ -951,9 +951,10 @@ func frexp*[T: float32|float64](x: T): tuple[frac: T, exp: int] {.inline.} =
doAssert frexp(0.0) == (0.0, 0)
# special cases:
doAssert frexp(-0.0).frac.signbit # signbit preserved for +-0
doAssert frexp(Inf).frac == Inf # +- Inf preserved
doAssert frexp(NaN).frac.isNaN
when sizeof(int) == 8:
doAssert frexp(-0.0).frac.signbit # signbit preserved for +-0
doAssert frexp(Inf).frac == Inf # +- Inf preserved
doAssert frexp(NaN).frac.isNaN
when not defined(js):
var exp: cint