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.
1 parent 6746cc8 commit 460a3a4Copy full SHA for 460a3a4
src/algorithm/dyadic/mod.rs
@@ -1802,6 +1802,9 @@ impl<T: RealArrayValue> Array<T> {
1802
if base == 0.0 {
1803
return Err(env.error("Base cannot be 0"));
1804
}
1805
+ if base == 1.0 {
1806
+ return Err(env.error("Base cannot be 1"));
1807
+ }
1808
if base.is_infinite() {
1809
return Err(env.error("Base cannot be infinite"));
1810
tests_special/error.ua
@@ -180,4 +180,6 @@ F ← |0.1000 ⍢(F F F|1)
180
181
⬚0⌝▽ 0_0 1_2
182
183
-°⊸(⌝⤸0) ⇡3 °△3_3
+°⊸(⌝⤸0) ⇡3 °△3_3
184
+
185
+⊥1 5
0 commit comments