File tree Expand file tree Collapse file tree 8 files changed +9
-8
lines changed
lib/node_modules/@stdlib/math/base/special/gcdf
include/stdlib/math/base/special Expand file tree Collapse file tree 8 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
2
2
{{alias}}( a, b )
3
- Computes the greatest common divisor (gcd).
3
+ Computes the greatest common divisor (gcd) of two single-precision
4
+ floating point numbers.
4
5
5
6
If both `a` and `b` are `0`, the function returns `0`.
6
7
Original file line number Diff line number Diff line change 19
19
// TypeScript Version: 4.1
20
20
21
21
/**
22
- * Computes the greatest common divisor (gcd).
22
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers .
23
23
*
24
24
* ## Notes
25
25
*
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
27
27
#endif
28
28
29
29
/**
30
- * Computes the greatest common divisor (gcd).
30
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers .
31
31
*/
32
32
float stdlib_base_gcdf ( const float a , const float b );
33
33
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Computes the greatest common divisor (gcd) using the binary GCD algorithm.
22
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers using the binary GCD algorithm.
23
23
*
24
24
* ## References
25
25
*
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Computes the greatest common divisor (gcd) using the binary GCD algorithm and bitwise operations.
22
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers using the binary GCD algorithm and bitwise operations.
23
23
*
24
24
* ## References
25
25
*
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Compute the greatest common divisor (gcd).
22
+ * Compute the greatest common divisor (gcd) of two single-precision floating point numbers .
23
23
*
24
24
* @module @stdlib /math/base/special/gcdf
25
25
*
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ var largeIntegersf = require( './binary_gcd.js' );
32
32
// MAIN //
33
33
34
34
/**
35
- * Computes the greatest common divisor (gcd).
35
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers .
36
36
*
37
37
* @param {integer } a - first number
38
38
* @param {integer } b - second number
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
26
26
// MAIN //
27
27
28
28
/**
29
- * Computes the greatest common divisor (gcd).
29
+ * Computes the greatest common divisor (gcd) of two single-precision floating point numbers .
30
30
*
31
31
* @private
32
32
* @param {number } a - first number
You can’t perform that action at this time.
0 commit comments