diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-05 10:16:53 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-05 10:25:25 -0700 |
commit | f13576b5d273ef9175e938b15f55bb1ead22fb1d (patch) | |
tree | a54c4667e384a7eec44d0e5e7c2da687b670b7e9 /html/019functions.cc.html | |
parent | bb3ce6cdea12ff00b998c5a1c6dbf2c83dba77c2 (diff) | |
download | mu-f13576b5d273ef9175e938b15f55bb1ead22fb1d.tar.gz |
6957
The final fix to the raytracing program involves rounding modes. It turns out x86 processors round floats by default, unlike C which has trained me to expect truncation. Rather than mess with the MXCSR register, I added another instruction for truncation. Now milestone 3 emits perfectly correct results.
Diffstat (limited to 'html/019functions.cc.html')
0 files changed, 0 insertions, 0 deletions