@pointingdevice @0xabad1dea It could have been that for all I remember. But that also deserves to stay in the 1970s.
Notices by C222 (c222@mas.to)
-
Embed this notice
C222 (c222@mas.to)'s status on Saturday, 03-Feb-2024 10:01:45 JST C222 -
Embed this notice
C222 (c222@mas.to)'s status on Saturday, 03-Feb-2024 10:00:52 JST C222 @0xabad1dea When I was a new developer one of my responsibilities was interfacing with industrial equipment via SCADA protocols. One fledgling manufacturer decided that _everything_ needed to be 32-bit floats.
watthours_imported? float, that's fine.
batteries_installed? float
is_activated? float! (0.0 was off)
serial_number? was a list of 10-some floats (e.g. 65.0 was ascii "A")They're out of business now.
-
Embed this notice
C222 (c222@mas.to)'s status on Saturday, 03-Feb-2024 10:00:51 JST C222 @0xabad1dea OOH. Also. The byte order for the floats wasn't little or big endian. It was something like C,D,A,B because the 16-bit words were big-endian, but the bytes were little.
I asked their "developer" why I was getting garbage and they replied with the wiki page for IEEE754.