Skip to content

Commit b4158e9

Browse files
committed
F^i
1 parent c76d538 commit b4158e9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

k.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,9 @@ exp (0;1 2) /(1.;2.718281 7.389056)
378378
2^3 /8
379379
3 4^2 /9 16
380380
(2;3 4)^3 /(8;27 64)
381+
3 4.^2. /9. 16.
382+
3 4^2. /9. 16.
383+
3 4.^2 /9. 16.
381384
2^/-0.123 0.123 /0.918276 1.088997
382385
(0 1;2 4)^2. /(0. 1.;4. 16.)
383386
0w^2.3 /0w

scalar.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ func nf(f int32, x, y K) K {
357357
x = uptype(x, ft)
358358
xt = tp(x)
359359
}
360+
if tp(y) < ft && y != 0 {
361+
y = uptype(y, ft)
362+
}
360363
xp := int32(x)
361364
xn := int32(1)
362365
if xt == ft {

0 commit comments

Comments
 (0)