Greetings, folks -
Actually, the title is a bit of a smokescreen!
TMP117 is a pretty nice TI temperature sensor with 0.1C accuracy and 7.825 mC resolution. Value returned by the sensor is a 16-bit signed integer with LSB=7.825mC. Got it working nicely with the Microchip written Arduino TWI library for ATmega4808 "ported" to bare metal. No problem, there.
The real question is how to convert the signed integer to decimal temperature? I've looked at several example programs and they blithely throw the whole mess at floating point, and charge ahead, with no apparent consideration of speed or code size.
I am wondering if there is some way, which currently escapes me, that might use fixed point or other techniques to tame this beastie? My goal is to have something that can be transmitted as human readable ASCII with a single fractional decimal digit (e.g. 27.3 or -7.9). In several other cases, I've used fixed point and inserted the decimal point "manually"; that works just fine and is quite fast. But, those cases were already scaled (e.g. LSB = 0.1C).
So, I am entertaining suggestions about how this might be approached.