04-25-2021, 07:15 AM
All tools of Wiimms SZS Tools support a float converter.
Example:
Details: https://szs.wiimm.de/cmd/wszst/float
Example:
Code:
$ wszst float -- 1 2.5 -3 x40 0x4010 + +
3f80 0000 = 1 : 3ff0 0000 0000 0000 = 1 : |1|
4020 0000 = 2.5 : 4004 0000 0000 0000 = 2.5 : |2.5|
c040 0000 = -3 : c008 0000 0000 0000 = -3 : |-3|
4000 0000 = 2 : 4000 0000 0000 0000 = 2 : |x40|
4010 0000 = 2.25 : 4010 0000 0000 0000 = 4 : |0x4010|
4010 0001 = 2.25000024 : 4010 0000 0000 0001 = 4.00000000000000089 : |+|
4010 0002 = 2.25000048 : 4010 0000 0000 0002 = 4.00000000000000178 : |+|
Details: https://szs.wiimm.de/cmd/wszst/float