On Wed, 31 Jul 2019, Liu Hao wrote:

---
BTW:
+               if (signbit(x))
+                       return -HUGE_VAL;
+               else
+                       return HUGE_VAL;

If I were you I would write it as

   return copysign(HUGE_VAL, x);

anyway the difference is trivial.

Good point, thanks!

I'll try to change that.

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to