Closed jansel closed 1 week ago
Looks like hl.is_nan()
has the same issue.
Oh I see the bug. It's in EmulateFloat16Math.cpp. It rewrites all float16 transcendentals/intrinsics to their float32 equivalents, but it just assumes these functions return float
Repro:
Output:
It works with 32 bit however: