> For exact exponsnts it should give 1.
One more fix for ^(DFLOAT, FRAC INT) :
diff --git a/src/algebra/sf.spad b/src/algebra/sf.spad
index 28af4bb..b7e5cf3 100644
--- a/src/algebra/sf.spad
+++ b/src/algebra/sf.spad
@@ -613,7 +613,7 @@
x : % ^ r : Fraction Integer ==
zero? x =>
- zero? r => error "0^0 is undefined"
+ zero? r => 1
negative? r => error "division by 0"
0
-- zero? r or one? x => 1
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.