ANDRQQ Should Return REAL8

Product Version(s): 3.31 3.32
Operating System:   MS-DOS
Flags: ENDUSER | TAR54013 buglist3.31 fixlist3.32
Last Modified:  3-OCT-1988    ArticleIdent: Q12391

Function andrqq() returns a REAL4 value instead of a REAL8 value when
the parameter is an arithmetic expression and it has been linked with
DECMATH.LIB.

y and z should be the same, but y is only accurate to seven digits.

Microsoft has confirmed this to be a problem in Version 3.31. This
problem was corrected in Version 3.32.

The following code demonstrates the problem:

    {$decmath+}
   var w,x:real8;
        y,z:real8;
   function andrqq(consts a:real8):real8;extern;
       w:=12345678.1234;
       x:=1234567812.34;
       y:=andrqq((w*100));
       z:=andrqq(x);