mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
Added profile for mathy functions.x
This commit is contained in:
parent
1932cbfbbc
commit
6d4041b2a1
9
contrib/codeanalysis/profile_math.chai
Normal file
9
contrib/codeanalysis/profile_math.chai
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
var something = 0;
|
||||||
|
|
||||||
|
for (var i = 1; i < 10000; ++i)
|
||||||
|
{
|
||||||
|
something += int(3 % 2 * 4 + 2 / 16.0 - 100 + (10 ^ 19) / 64 + (3 & 12) - (4 | 14)) % i;
|
||||||
|
}
|
||||||
|
|
||||||
|
print(something);
|
||||||
Loading…
x
Reference in New Issue
Block a user