"0." instead.
I mean, I know that Maple now treats complex numbers differently than reals; but still...
This is another bizzare consequence of the new way chosen to represent complex numbers. Note that:
|\^/| Maple 6 (SUN SPARC SOLARIS) ._|\| |/|_. Copyright (c) 2000 by Waterloo Maple Inc. \ MAPLE / All rights reserved. Maple is a registered trademark of <____ ____> Waterloo Maple Inc. | Type ? for help. > op(0.*I); 0. > whattype(0.*I); complex
op(0+3*I) was 0,3 ? In particular, that
Why then:
The help under fnormal suggests that this is deliberate, and gives a remedy:
"fnormal preserves numeric type and sign information as much as possible. Thus, for
example, fnormal(1e-20*I, 10) = 0.*I not 0. . This ensures that branching behaviour
is generally not affected by fnormal. Use simplify(expr, zero) to remove 0 real or imaginary
parts of complex floating point numbers."