1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-07-29 21:22:11 +00:00
Files
assemblyscript/lib/libm
2019-06-05 23:15:39 +02:00
..
2019-06-05 23:15:39 +02:00
2019-06-05 23:15:39 +02:00
2019-06-05 23:15:39 +02:00
2019-06-05 23:15:39 +02:00

AS libm

AssemblyScript's math routines for double and single precision as a library.

const libm = require("@assemblyscript/libm");
const libmf = libm.libmf;
...

Both libm and libmf have the same general interface as JavaScript's Math, with libmf doing single precision math.