| Funktion | Beschreibung |
| pow | (x, y) | Potenz xy |
| sqrt | (x) | Quadratwurzel √x |
| hypot | (x,y) | sqrt (x2 + y2) |
| exp | (x) | e-Funktion |
| log | (x) | Natürlicher Logarithmus |
| |
| sin | (x) | Sinus |
| cos | (x) | Cosinus |
| tan | (x) | Tangens |
| acos | (x) | Arcus Cosinus |
| asin | (x) | Arcus Sinus |
| atan | (x) | Arcus Tangens |
| |
| sinh | (x) | Sinus Hyperbolicus |
| cosh | (x) | Cosinus Hyperbolicus |
| tanh | (x) | Tangens Hyperbolicus |
| arcosh | (x) | Area Cosinus Hyperbolicus |
| arsinh | (x) | Area Sinus Hyperbolicus |
| artanh | (x) | Area Tangens Hyperbolicus |
| |
| gauss | (x,s) | Gauß′sche Glockenkurve s = Standardabweichung |
| |
| abs | (x) | Betrag |
| sign | (x) | Signum |
| ceil | (x) | Aufrunden |
| floor | (x) | Abrunden |
| round | (x) | kaufmännisch Runden |
| max | (x, y) | Maximum |
| min | (x, y) | Minimum |
| falls | (x, y, z) | y falls x &ge 0, z falls x < 0 |
| foo | (x) | Ein Beispiel füe eine selber geschriebene JavaScript-Funktion. Es sind auch mehrere Argumente möglich. Definition dann foo (x,z) |
|
| Konstante | Wert | Beschreibung |
| pi | 3.14159... | Kreiszahl π |
| sqrt2 | 1.41421... | Quadratwurzel von 2 |
| e | 2.71828... | Euler′sche Zahl |
| ln2 | 0.69314... | Natürlicher Logarithmus von 2 |
| ln10 | 2.30258... | Natürlicher Logarithmus von 10 |
| |
| Operator | Beschreibung |
| x + y | Addition |
| x - y | Subtraktion |
| x * y | Multiplikation |
| x / y | Division |
| -x | Negation |
| x, y | Auswertung von links nach rechts. Beispiel: f(x) = a=x*x, sin(a)+a entspricht f(x) = sin(x*x) + x*x |
| (x) ? y : z | y falls Bedingung x erfüllt ist, z sonst. Logische Operatoren zum Aufbau von x sind: >, >=, <, <=, ==, !=, ||, && |
|