util: use ES2015+ Object.is to check negative zero
The original code is written in 2013. Today we can use more simple way Object.is
, which was introduced in ECMAScript 6, to check whether the value is negative zero or not.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
util