Skip to content

Commit 76c2ae6

Browse files
committed
Merge branch 'main' of https://github.com/uiua-lang/uiua
2 parents dafcf02 + a20d870 commit 76c2ae6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This version is not yet released. If you are reading this on the website, then t
2828
- Add the [`exponential ₑ`](https://uiua.org/docs/exponential) function, which computes the exponential function
2929
- Deprecate [`logarithm ₙ`](https://uiua.org/docs/logarithm) in favor of [`exponential ₑ`](https://uiua.org/docs/exponential)
3030
- Remove experimental `ln` in favor of [`exponential ₑ`](https://uiua.org/docs/exponential)
31+
- Remove the `ⁿ%:1` ("root" pattern) optimization, it undered incorrectly, and should be replaced with [`anti ⌝`](https://uiua.org/docs/anti)[`pow ⁿ`](https://uiua.org/docs/power)
3132
- Add [`&seek`](https://uiua.org/docs/&seek) function for working with large files
3233
- Remove previously deprecated `signature` and `stringify` modifiers
3334
### Interpreter

src/compile/optimize.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ static OPTIMIZATIONS: &[&dyn Optimization] = &[
122122
&((SortDown, Reverse), Sort),
123123
&((Pop, Rand), ReplaceRand),
124124
&((Pop, Pop, Rand), ReplaceRand2),
125-
&((1, Flip, Div, Pow), Root),
126125
&((-1, Pow), (1, Flip, Div)),
127126
&((2, Pow), (Dup, Mul)),
128127
&((Complex, Abs), AbsComplex),

0 commit comments

Comments
 (0)