We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65619f9 commit 7acb708Copy full SHA for 7acb708
lib/node_modules/@stdlib/math/base/special/lcm/src/main.c
@@ -23,7 +23,6 @@
23
/**
24
* Computes the least common multiple (lcm).
25
*
26
-* @private
27
* @param a integer
28
* @param b integer
29
* @return least common multiple
@@ -37,19 +36,17 @@ double stdlib_base_lcm( const double a, const double b ) {
37
36
double bn;
38
double d;
39
40
- if( a == 0.0 || b == 0.0 ) {
+ if ( a == 0.0 || b == 0.0 ) {
41
return 0.0;
42
}
43
if ( a < 0.0 ) {
44
an = -a;
45
- }
46
- else {
+ } else {
47
an = a;
48
49
if ( b < 0.0 ) {
50
bn = -b;
51
52
53
bn = b;
54
55
// Note: we rely on `gcd` to perform further argument validation...
0 commit comments