How do I convert a decimal number smaller than 1.0 to hex float?

  • Thread starter Thread starter LawnMeower
  • Start date Start date
  • Views Views 1,404
  • Replies Replies 4
  • Like
Reactions: daxtsu
No problem. This assumes of course that the platform you're working with (Wii U? Just a guess) uses standard floats. If you require something for a weird platform like the PS2 which does not use standard floats, then you may need to search further or specify which one.
 
No problem. This assumes of course that the platform you're working with (Wii U? Just a guess) uses standard floats. If you require something for a weird platform like the PS2 which does not use standard floats, then you may need to search further or specify which one.
the info given at the example of -0.5 is sufficient enough for me to understand how to convert a decimal number to any kind of IEEE floats :)
 
  • Like
Reactions: daxtsu

Site & Scene News