[11496] in Athena Bugs
sun4 7.6Q: maple
daemon@ATHENA.MIT.EDU (reidmp@MIT.EDU)
Tue Dec 7 09:36:45 1993
From: reidmp@MIT.EDU
Date: Tue, 7 Dec 93 09:36:32 -0500
To: gdsalvuc@MIT.EDU, bugs@MIT.EDU
Cc:
>What's wrong:
> maple translate x^(1/c) as x**1/c
>
>What should have happened:
> x**(1/c)
>
I've verified this, and it is definitely a bug. I've reported it to WMS.
I also noticed that while x^(1/c) doesn't get translated properly,
x^(2/c) and x^(a/c) *do* get translated properly. As a temporary cludge
if you need to have Maple generate a bunch of fortran code, try using
something like:
fortran(x^(one/c))
and then doing a text string search-and-replace on the file that you
wrote the results to, to convert instances of 'one' into '1'.