Fix stdlib typos and logic bugs: Round precision arg; rename Trancate->Truncate; correct degrees/radians conversion; wrapangle shift into range; Random rands add lower; correct gcd/lcm names/logic; fix 13! constant; clarify atan2 args; update initializer registrations
This commit is contained in:
parent
47e6ea91d7
commit
736f05a023
11 changed files with 22 additions and 17 deletions
|
@ -66,7 +66,7 @@ namespace CSMic.StandardLibrary
|
|||
inputInterpreter.RegisterFunction(new Factorial());
|
||||
inputInterpreter.RegisterFunction(new BinomialCoefficient());
|
||||
inputInterpreter.RegisterFunction(new Permutations());
|
||||
inputInterpreter.RegisterFunction(new GreatestCommonDevisor());
|
||||
inputInterpreter.RegisterFunction(new GreatestCommonDivisor());
|
||||
inputInterpreter.RegisterFunction(new LeastCommonMultiple());
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ namespace CSMic.StandardLibrary
|
|||
inputInterpreter.RegisterFunction(new Floor());
|
||||
inputInterpreter.RegisterFunction(new Ceiling());
|
||||
inputInterpreter.RegisterFunction(new Fractional());
|
||||
inputInterpreter.RegisterFunction(new Trancate());
|
||||
inputInterpreter.RegisterFunction(new Truncate());
|
||||
inputInterpreter.RegisterFunction(new Round());
|
||||
inputInterpreter.RegisterFunction(new Clamp());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue