MetaScale/nt2 — Issue #110: Scalar frexp broken on windows
Author: mgaunard
Created: 2011-11-23 15:23:46+00:00
State: open

On windows, frexp in scalar mode does not behave correctly:

tie(m, p) = frexp(inf)
gives
m = nan
p = -1

On Linux however we get
m = inf
p = 0

What's troubling is that this wasn't caught by tests. Indeed, frexp tests do not actually test any value!