You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for positive integer time units ("parts per second") in
erlang:monotonic_time/1, erlang:system_time/1, and
calendar:system_time_to_universal_time/2.
Restrict integer-unit handling to int64 inputs in the affected NIF paths.
Use checked int64 decomposition for monotonic/system time conversion to
avoid signed overflow in intermediate arithmetic. For calendar integer
units, floor negative fractional values to whole seconds before converting
to UTC.
Add focused Erlang tests for integer-unit parity, badarg on non-positive
integer units, and negative fractional calendar conversion for integer
units.
Signed-off-by: Peter M <petermm@gmail.com>
0 commit comments