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:
parent
50b05f679d
commit
1f310d596b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user