float2
move the dot of float
Usage
var float2 = require('float2');
float2.dot2(0.1, 2); // 10
float2.dot2(-0.1, -2); // -0.001
float2.dot2right(0.1, 2); // 10
float2.dot2left(0.1, 2); // 0.001
Test
npm run test
using tape
move the dot of float
var float2 = require('float2');
float2.dot2(0.1, 2); // 10
float2.dot2(-0.1, -2); // -0.001
float2.dot2right(0.1, 2); // 10
float2.dot2left(0.1, 2); // 0.001
npm run test
using tape
npm i float2
0
0.1.0
MIT