Merge pull request #149 from bambooleafz/master

this should fixes issue #148
This commit is contained in:
Landon Curt Noll
2024-05-27 18:36:31 -07:00
committed by GitHub

View File

@@ -1953,7 +1953,7 @@ qispowerof2(NUMBER *q, NUMBER **qlog2)
* Set *qlog2 to base 2 logarithm of q, which will be a negative value,
* and return true.
*/
*qlog2 = utoq(log2);
**qlog2 = *utoq(log2);
(*qlog2)->num.sign = !(*qlog2)->num.sign; /* set *qlog2 to -log2 */
return true;
}