OpenBSD/src iGXCFyXsys/dev/pci ksmn.c

   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>
VersionDeltaFile
1.3+12-9sys/dev/pci/ksmn.c
+12-91 files

UnifiedSplitRaw