Implement Math/Mathf.exp; Initial math test suite

This commit is contained in:
dcodeIO
2018-03-25 17:42:56 +02:00
parent 70d2a0a425
commit e26734ef90
12 changed files with 7292 additions and 105 deletions

2
std/assembly.d.ts vendored
View File

@ -411,6 +411,7 @@ declare namespace Math {
export function abs(x: f64): f64;
export function ceil(x: f64): f64;
export function clz32(x: f64): i32;
export function exp(x: f64): f64;
export function floor(x: f64): f64;
export function fround(x: f64): f32;
export function imul(a: f64, b: f64): i32;
@ -433,6 +434,7 @@ declare namespace Mathf {
export const SQRT1_2: f32;
export const SQRT2: f32;
export function abs(x: f32): f32;
export function exp(x: f32): f32;
export function ceil(x: f32): f32;
export function clz32(x: f32): i32;
export function floor(x: f32): f32;