etdeagle2
Re:What Every Developer Should Know About GPU Computing (2023)
on Monday November 04, 2024 @06:32PM (#42047187)
Please do! I would love to read about it. I have been playing with GPU hash tables shared between all the threads using locking (Interlocked.CompareExchange) and such in a Compute Shader. I have been wondering if there are better ways than locking.
Re:Never Use Floats for Money (2016)
on Thursday February 13, 2020 @07:39PM (#22322865)
thanks!
Re:Never Use Floats for Money (2016)
on Thursday February 13, 2020 @07:00PM (#22322621)
I tried a small C++ program and it does not exhibit this behavior. Why is it not showing there?
program: #include <iostream>
using namespace std;
int main(int argc, char argv) { float s = 165 * 1.40; cout << s << endl; }
output: ./floats 231