|
You are here |
retro-style.software-by-mabe.com | ||
| | | | |
blog.m-ou.se
|
|
| | | | | 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 every compiler I tested. In this blog post, I'll explain what happened, how floats work, how this conversion works, and how it got a bit out of hand. | |
| | | | |
tannerdolby.com
|
|
| | | | | Rounding numbers in Python is quite common. There might be a situation where values must only be rounded to 3 decimals or some arbitrary number. Using the built-in function round() is handy but changes the original value. | |
| | | | |
basesandframes.wordpress.com
|
|
| | | | | Download Presentation part 1 Download Presentation part 2 I was trying to interpolate a scaling function on an SPU on PS3 and realized, this device has no math library. How do you write powf() without access to libm? The IEEE754 standard for floating point numbers only covers five fundamental functions - addition, subtraction, multiplication, division... | |
| | | | |
www.cppstories.com
|
|
| | | // how does it work? auto i = 0; // ?? C++11 brings us a very useful set of tools. It adds fresh air to the hard life of a programmer. The updated syntax makes the language a more modern and easier to use. In this post let's take a quick look at a nice keyword 'auto' that, at first sight might seem very simple. | ||