aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library.js b/src/library.js
index 0663d6c1..fc9e34c6 100644
--- a/src/library.js
+++ b/src/library.js
@@ -180,10 +180,10 @@ var Library = {
// math.h
- cos: function(x) { return Math.cos(x) },
- sin: function(x) { return Math.sin(x) },
- sqrt: function(x) { return Math.sqrt(x) },
- llvm_sqrt_f64: 'sqrt',
+ cos: 'Math.cos',
+ sin: 'Math.sin',
+ sqrt: 'Math.sqrt',
+ llvm_sqrt_f64: 'Math.sqrt',
// unistd.h