Lancern's Treasure Chest
21:22 · May 31, 2022 · Tue
如何用不必要的复杂方法把整数转换成浮点数
https://blog.m-ou.se/floats/
blog.m-ou.se
Converting Integers to Floats Using Hyperfocus
A few years ago, due to some random chain of events, I ended up implementing a conversion from 128 bit integers to 64 bit floats.
This would’ve turned out to be a complete waste of time,
except that my final version is faster than the builtin conversion of…
Home
Powered by
BroadcastChannel
&
Sepia