about summary refs log tree commit diff stats
path: root/apps/raytracing/3.ppm
Commit message (Collapse)AuthorAgeFilesLines
* 6957Kartik Agaram2020-10-051-20296/+20296
| | | | | | | | 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.
* 6953Kartik Agaram2020-10-051-0/+90003