Corretto operatore - tra real e double

git-svn-id: svn://10.65.10.50/trunk@3587 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-09-16 08:22:42 +00:00
parent 50b05f679d
commit 1f310d596b

View File

@ -647,8 +647,8 @@ real operator - (double a, const real & b)
real operator - (const real & a, double b) real operator - (const real & a, double b)
{ {
__tmp_real = b; __tmp_real = -b;
__tmp_real -= a; __tmp_real += a;
__tmp_real.trail(); __tmp_real.trail();
return __tmp_real; return __tmp_real;
} }