Skip to content

Commit 8f2d836

Browse files
author
Jay Krell
committed
Wasm should use this too, but only a comment.
1 parent bffe3c2 commit 8f2d836

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Runtime/Math/WasmMath.inl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ DstType WasmMath::ConvertFloatToInt(SrcType srcVal, _In_ Js::ScriptContext * scr
155155
return 0;
156156
}
157157

158+
// TODO NumberUtilities::ToSpecial
159+
158160
ReinterpretType val = *reinterpret_cast<ReinterpretType*> (&srcVal);
159161
if (MaxCmp(val, Max) || (val >= NegZero && NegOneCmp(val, NegOne)))
160162
{

0 commit comments

Comments
 (0)