Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,12 @@
|
||||
module math
|
||||
|
||||
fn JS.Math.exp(x f64) f64
|
||||
|
||||
// exp calculates exponent of the number (math.pow(math.E, x)).
|
||||
@[inline]
|
||||
pub fn exp(x f64) f64 {
|
||||
mut res := 0.0
|
||||
#res.val = Math.exp(x)
|
||||
|
||||
return res
|
||||
}
|
||||
Reference in new issue
Block a user