glsl-gcd
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
Install
npm install glsl-gcd
Usage
# gcd = require(glsl-gcd) float d = gcd(9., 6.); // return 3.
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
npm install glsl-gcd
# gcd = require(glsl-gcd) float d = gcd(9., 6.); // return 3.
npm i glsl-gcd
0
1.0.1
MIT
3.03 kB
6