Question: Converting floats to rationals - sometimes

Under certain special circumstances it seems that Maple is converting floats to rationals - I noticed this in Maple 2021 when a^0.5 evaluated to sqrt(a). Prior to Maple 2017, a^0.5, evaluates to a^0.5.

Can anyone think of a reason for this change?

I'm not quite sure why it bothers me, but it does

See the attached for Maple 2016 and Maple 2017.

  restart;
  interface(version);
  a^0.5;
  a^(-0.5);

`Standard Worksheet Interface, Maple 2016.2, Windows 7, January 13 2017 Build ID 1194701`

 

a^.5

 

1/a^.5

(1)

 

 

  restart;
  interface(version);
  a^0.5;
  a^(-0.5);

`Standard Worksheet Interface, Maple 2017.3, Windows 7, September 13 2017 Build ID 1262472`

 

a^.5

 

1/a^.5

(1)

 

Download odd2017.mw

Download odd2016.mw

 

Please Wait...