aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 61149e2d..2dde32d3 100644
--- a/src/library.js
+++ b/src/library.js
@@ -197,9 +197,23 @@ var Library = {
// math.h
cos: 'Math.cos',
+ cosf: 'Math.cos',
sin: 'Math.sin',
+ sinf: 'Math.sin',
+ tan: 'Math.tan',
+ tanf: 'Math.tan',
+ acos: 'Math.acos',
+ acosf: 'Math.acos',
+ asin: 'Math.asin',
+ asinf: 'Math.asin',
+ atan: 'Math.atan',
+ atanf: 'Math.atan',
sqrt: 'Math.sqrt',
+ sqrtf: 'Math.sqrt',
+ fabs: 'Math.abs',
+ fabsf: 'Math.abs',
llvm_sqrt_f64: 'Math.sqrt',
+ llvm_pow_f32: 'Math.pow',
// unistd.h