News for hackers. Stuff that matters.
Re:Aztec monks with 1/55 HP no longer die when picking up or... by MobiusHorizons on Saturday April 15, 2023 @01:47PM (#35582809)
Fun fact many processors actually support decimal types in hardware. I believe you can use them in c with _Decimal. Worked on my Ryzen 3700x and (if memory serves) my M1 mac
Re:Aztec monks with 1/55 HP no longer die when picking up or... by MobiusHorizons on Tuesday April 18, 2023 @11:12PM (#35623835)
Due to the downvotes I looked into this again. You can use _Decimal32 etc in GCC on x86, but it is a soft implementation. I believe it is in hardware on some ibm platform, but definitely not on the M1