https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198139
Bug ID: 198139
Summary: timer2sbintime() Loss of precision during conversion
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
The conversion error in timer2sbintime() is very high, almost 7% for timers
using NOTE_NSECONDS. A nanosecond takes 4.294967296 "sbintimes", but the
conversion truncates this to 4 through its multiplication by the constant
SBT_1NS. Similar, but much smaller, error is introduced for the NOTE_USECONDS
and NOTE_MSECONDS conversions.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"