CVSROOT:        /cvs
Module name:    src
Changes by:     bry...@cvs.openbsd.org  2019/11/20 13:44:22

Modified files:
        sys/dev/pci    : ksmn.c 

Log message:
ksmn(4): Improve the precision of the fractional part of temperatures.
Before we were losing some precision in the raw value sensor conversion.

raw: 478 before: 59.70 after: 59.75 real: 59.750
raw: 479 before: 59.80 after: 59.88 real: 59.875
raw: 480 before: 60.00 after: 60.00 real: 60.000

Tested on Ryzen 7 2700X, Ryzen 5 2500U, and Zen2 by nte.

Diff and feedback from nte <lists at nte.email>

Reply via email to