We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@[ignore_overflow]
1 parent e2db6c7 commit 78401cfCopy full SHA for 78401cf
1 file changed
vlib/math/pow.v
@@ -38,6 +38,7 @@ pub fn pow10(n int) f64 {
38
//
39
// special case:
40
// powi(a, b) = -1 for a = 0 and b < 0
41
+@[ignore_overflow]
42
pub fn powi(a i64, b i64) i64 {
43
mut b_ := b
44
mut p := a
0 commit comments