We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Joystick
Hey guys! I'm writing a program in C using the infamous Windows API in which the end goal is to ha…
»
Dawoodoz
Assuming two's complement for signed integers will give you style warnings in modern C++ compilers…
»
Mārtiņš Možeiko
What are you talking about? Obviously I don't know what code we'll be writing 50 years in future. …
»
Dawoodoz
So where does the C++ standard say that IEEE754 must always be used in all future versions of C++?…
»
Mārtiņš Možeiko
Yes, that is part of "ancient" computers that nobody develops for anymore. 80-bit float is not a t…
»
Dawoodoz
I had my physics engine break down on AMD CPUs with forces truncated to zero, because it relied on…
»
longtran2904
Wow, thanks so much for all the links! I just finished a temporary, not high-precision parser so i…
»
Mārtiņš Možeiko
Game engines rarely implements this kind of functionality manually. They typically use sscanf/strt…
»
longtran2904
I've tried reading the two papers you gave, but I'm not a native speaker and there're a lot of not…
»
Mārtiņš Možeiko
Floating-point representations are not portable across different computers, so don't expect them t…
»
longtran2904
Try to use as few accumulated rounding errors as possible when working with the double type How? y…
»
Dawoodoz
If an "e" exists, left-hand side should be multiplied by 10 to the power of the right-hand side. T…
»
Jason
Congrats on getting as far as you have. As far as good practice for learning I definitely think re…
»
Gaurav Gautam
Yes, I have to do that. I will start once I have the first 100 episodes done.
»
Simon Anciaux
I am pretty sure that if I tried to remake everything to this point without looking at the tutoria…
»
Gaurav Gautam
A blue blurry familiar, a monstar with a tail and a hero with hands and a spear. handmadehero.png …
»
Mārtiņš Možeiko
You read your string char by char constructing integer first, once you get to '.' or 'e' chars you…
»
longtran2904
I'm writing a simple C parser and wondering how you parse a floating point number like these: 15.7…
»
CLQ
Arch with i3 and Windows 7.
»
CLQ
Oops. Just found it by googling fixed on another thread on here. Solution is to add the following …
»
CLQ
Title. AAA94DSS.jpg In the theme I'm using (theme-handmade-hero) I see things like 'defcolor_comm…
»
Mārtiņš Možeiko
For someone looking to learn a graphics api to write a 3D renderer as a beginner (me), who has no …
»
MrCelsius88
For someone looking to learn a graphics api to write a 3D renderer as a beginner (me), who has no …
»
Mārtiņš Možeiko
IMHO nobody should be using Vulkan if they are just starting and do not know which GPU api to use.…
»
Sam H Smith
I use artix linux with LARBS on both my desktop and laptop. It's basically arch but with a differe…
»
Dawoodoz
The only point in using OpenGL over Vulkan was supporting more platforms than Vulkan. Now that Ope…
»
Mārtiņš Možeiko
That would be very strange choice - to not choose GL because macOS is dropping support for it and …
»
Dawoodoz
While considering that Macintosh is dropping OpenGL support from being an obsolete mess of a compl…
»
Mārtiņš Možeiko
The bugginess is still there on every implementation. I would not recommend shipping OpenGL on win…
»
ReadOnlyMode
A bit new here to this tool, and have had some success with formatting some things based on the do…
»