-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FP: All code should prefer single precision now
To better match yoshimi single precision usage two large regular expressions were applied. The performance difference according to tests is fairly minimal, as hot spots already make heavy use of single precision variables. Scripted Changes: perl -pi -e "s/(\d+\.\d+)([^f^\d])/\1f\2/g" `find . |grep -E "(cpp|h)$"` perl -pi -e "s/(exp|pow|log|sin|cos|tan)\(/\1f\(/g" `find . |grep -E "(cpp|h)$"` Minor changes were made for a handful of values
- Loading branch information
1 parent
e97c0d7
commit d44dc9b
Showing
66 changed files
with
1,499 additions
and
1,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.