-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
baruxu
committed
Jun 5, 2024
1 parent
9085daa
commit 90a8bbf
Showing
3 changed files
with
99 additions
and
53 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
## Intel Core i9-12900K 3.2GHz windows11 clang c++20 | ||
|
||
|Arithmetic|Fixed64|Hardware Float| | ||
|:-|-:|-:| | ||
add/sub[-100.0, 100.0]|0.0038 ns|0.4295 ns| | ||
mul[-100.0, 100.0]|2.6078 ns|0.9425 ns| | ||
mul[ 0.0, 0.5]|2.9100 ns|0.9226 ns| | ||
mul[ 0.5, 1.0]|2.6604 ns|27.1776 ns| | ||
mul[ 1.0, 2.0]|2.6227 ns|0.8468 ns| | ||
mul[ 2.0, 100.0]|2.6320 ns|0.8465 ns| | ||
div[-100.0, 100.0]|1.2967 ns|2.7318 ns| | ||
div[ 0.0, 0.5]|12.0082 ns|2.3092 ns| | ||
div[ 0.5, 1.0]|11.9341 ns|2.3041 ns| | ||
div[ 1.0, 2.0]|5.8836 ns|29.7369 ns| | ||
div[ 2.0, 100.0]|1.1417 ns|2.2860 ns| | ||
ceil[ -2.0, 2.0]|0.3916 ns|1.9973 ns| | ||
floor[ -2.0, 2.0]|0.3870 ns|1.7243 ns| | ||
round[ -2.0, 2.0]|0.6668 ns|6.5249 ns| | ||
abs[ -2.0, 2.0]|0.0538 ns|0.4180 ns| | ||
exp[ 0.0, 1.0]|3.6085 ns|2.1249 ns| | ||
exp2[ 0.0, 1.0]|2.7666 ns|30.3101 ns| | ||
sqrt[ 0.0, 100.0]|13.7207 ns|1.6524 ns| | ||
sin[ -10.0, 10.0]|1.0053 ns|3.6804 ns| | ||
cos[ -10.0, 10.0]|1.3183 ns|3.4292 ns| | ||
tan[ -10.0, 10.0]|7.3048 ns|3.5210 ns| | ||
asin[ -1.0, 1.0]|23.3574 ns|2.7947 ns| | ||
acos[ -1.0, 1.0]|22.9430 ns|2.8789 ns| | ||
atan[ 1.0, 100.0]|6.9723 ns|3.0697 ns| | ||
atan[ 1.0, 100.0]|6.9567 ns|3.4708 ns| | ||
|
||
|
||
## Intel Core i9-12900K 3.2GHz windows11 MSVC c++20 | ||
|
||
|Arithmetic|Fixed64|Hardware Float| | ||
|:-|-:|-:| | ||
add/sub[-100.0, 100.0]| 0.2107 ns | 0.4187 ns | | ||
mul[-100.0, 100.0]| 2.7356 ns | 0.8556 ns | | ||
mul[ 0.0, 0.5]| 2.6802 ns | 0.9478 ns | | ||
mul[ 0.5, 1.0]| 2.6930 ns | 0.8574 ns | | ||
mul[ 1.0, 2.0]| 2.6725 ns | 0.8455 ns | | ||
mul[ 2.0, 100.0]| 2.6829 ns | 0.8512 ns | | ||
div[-100.0, 100.0]| 1.6081 ns | 3.1777 ns | | ||
div[ 0.0, 0.5]| 13.7667 ns | 28.6761 ns | | ||
div[ 0.5, 1.0]| 13.7861 ns | 29.7010 ns | | ||
div[ 1.0, 2.0]| 6.2241 ns | 29.6876 ns | | ||
div[ 2.0, 100.0]| 1.5079 ns | 2.3074 ns | | ||
ceil[ -2.0, 2.0]| 0.4330 ns | 2.0436 ns | | ||
floor[ -2.0, 2.0]| 0.4341 ns | 2.0402 ns | | ||
round[ -2.0, 2.0]| 2.0854 ns | 6.4961 ns | | ||
abs[ -2.0, 2.0]| 0.2149 ns | 0.4175 ns | | ||
exp[ 0.0, 1.0]| 10.8654 ns | 2.0519 ns | | ||
exp2[ 0.0, 1.0]| 9.4355 ns | 30.2611 ns | | ||
sqrt[ 0.0, 100.0]| 10.9269 ns | 0.6271 ns | | ||
sin[ -10.0, 10.0]| 2.3128 ns | 3.9287 ns | | ||
cos[ -10.0, 10.0]| 2.1791 ns | 3.6846 ns | | ||
tan[ -10.0, 10.0]| 12.0050 ns | 3.6412 ns | | ||
asin[ -1.0, 1.0]| 19.5066 ns | 2.7914 ns | | ||
acos[ -1.0, 1.0]| 20.2079 ns | 2.9695 ns | | ||
atan[ 1.0, 100.0]| 17.5488 ns | 3.1872 ns | | ||
atan[ 1.0, 100.0]| 17.1658 ns | 3.0822 ns | | ||
|
||
|
||
## Apple M1 pro | ||
|
||
|Arithmetic|Fixed64|Hardware Float| | ||
|-|-:|-:| | ||
|Addition/Subtraction|0.215 ns|0.953 ns| | ||
|Multiplication|4.057 ns|1.246 ns| | ||
|Division|1.102 ns|3.144 ns| |