Skip to content

Commit

Permalink
Updates README.md with notes about Fast Math
Browse files Browse the repository at this point in the history
  • Loading branch information
marzvrover authored May 16, 2020
1 parent 0cc0437 commit ce79633
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ The GPU calculations are only accurate in the range (0, 33].
This project could be improved by implementing a arbitrary-precision arithmetic.
This would require a new data structure on both the Swift and MSL sides.
And it would need a way to accurately pass the data between the CPU and GPU.

## Notes
If Metal compiler uses the Fast Math (the `-ffast-math` flag—which it does by default) GPU calculations will not work.

0 comments on commit ce79633

Please sign in to comment.