Skip to content
Commit 6f8f9b5c authored by Christopher Friedt's avatar Christopher Friedt Committed by Christopher Friedt
Browse files

tests: time_units: check for overflow in z_tmcvt intermediate



Prior to #41602, due to the ordering of operations (first mul,
then div), an intermediate value would overflow, resulting in
a time non-linearity.

This test ensures that time rolls-over properly.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
(cherry picked from commit 74c9c0e7)
parent afbc9328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment