>
> What's the right thing to do?
>
> (1) -> 0.0 ^ (0::NNI)
>
> (1) 1.0
> Type: Float
> (2) -> 0.0 ^ (0::INT)
>
> >> Error detected within library code:
> 0^0 is undefined
For exact exponsnts it should give 1.
> (4) -> (0.0^0.0)$DFLOAT
>
> >> System error:
> arithmetic error SB-INT:ARGUMENTS-OUT-OF-DOMAIN-ERROR signalled
> Operation was EXPT, operands (0.0 0.0).
> See also:
> The ANSI Standard, Function EXPT
For approximate exponents it make sense to leave it undefiend
(and signal errors when users try to use it).
--
Waldek Hebisch
--
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.