Below is a table listing all the supported functions and their relative performance. The performance was measured
with C# (Release build) on Windows 10 using a Core i7-4700MQ @ 2.40GHz using a single thread.
Fixed64 (signed 32.32 fixed-point)
Operation
Mops/s
Add
1013.76
Sub
1011.74
Mul
354.42
Mod
99.64
Min
571.16
Max
622.08
Ceil
901.12
Floor
998.40
Round
516.09
Fract
1123.84
CeilToInt
1118.72
FloorToInt
1456.64
RoundToInt
1116.16
Abs
952.32
Nabs
691.20
Rcp
86.87
RcpFast
102.50
RcpFastest
103.72
DivPrecise
33.81
Div
78.42
DivFast
93.97
DivFastest
102.40
SqrtPrecise
7.29
Sqrt
56.83
SqrtFast
113.16
SqrtFastest
119.60
RSqrt
67.76
RSqrtFast
106.25
RSqrtFastest
111.97
Exp
216.30
ExpFast
214.61
ExpFastest
215.87
Exp2
374.82
Exp2Fast
385.79
Exp2Fastest
349.32
Log
90.18
LogFast
108.35
LogFastest
121.18
Log2
102.20
Log2Fast
102.70
Log2Fastest
120.32
Pow
43.89
PowFast
57.17
PowFastest
57.39
Sin
160.32
SinFast
187.19
SinFastest
220.16
Cos
151.78
CosFast
169.82
CosFastest
202.24
Tan
42.01
TanFast
50.69
TanFastest
63.24
Asin
23.79
AsinFast
29.15
AsinFastest
37.87
Acos
23.53
AcosFast
28.24
AcosFastest
38.32
Atan
34.59
AtanFast
51.10
AtanFastest
76.04
Atan2
41.29
Atan2Fast
51.00
Atan2Fastest
74.85
Fixed32 (signed 16.16 fixed-point)
Operation
Mops/s
Add
993.28
Sub
993.28
Mul
740.92
Mod
246.35
Min
783.36
Max
629.76
Ceil
1128.96
Floor
1226.24
Round
1123.84
Fract
1221.12
CeilToInt
1328.64
FloorToInt
1249.28
RoundToInt
1320.96
Abs
686.08
Nabs
707.70
Rcp
107.52
RcpFast
125.19
RcpFastest
130.04
DivPrecise
101.99
Div
100.99
DivFast
111.97
DivFastest
138.58
SqrtPrecise
33.28
Sqrt
112.42
SqrtFast
131.02
SqrtFastest
135.68
RSqrt
70.83
RSqrtFast
137.96
RSqrtFastest
150.74
Exp
386.56
ExpFast
395.22
ExpFastest
362.07
Exp2
411.34
Exp2Fast
413.89
Exp2Fastest
433.47
Log
108.77
LogFast
129.27
LogFastest
166.40
Log2
110.65
Log2Fast
129.01
Log2Fastest
157.77
Pow
69.12
PowFast
88.54
PowFastest
100.39
Sin
176.29
SinFast
210.38
SinFastest
246.84
Cos
172.36
CosFast
203.98
CosFastest
246.35
Tan
50.59
TanFast
58.88
TanFastest
78.57
Asin
26.03
AsinFast
29.37
AsinFastest
39.77
Acos
25.35
AcosFast
28.98
AcosFastest
39.69
Atan
34.26
AtanFast
52.81
AtanFastest
68.57
Atan2
43.97
Atan2Fast
57.39
Atan2Fastest
81.92