[omniORB] CORBA::Fixed::operator CORBA::Double() lost of signularity
Slava Garelin
garelin@ukr.net
Mon, 21 Jan 2002 18:09:44 +0200
CORBA::Fixed::operator CORBA::LongDouble() const
and
CORBA::Fixed::operator CORBA::Double() const
has lost of signularity.
my patch:
------------------------------------------
--- src/lib/omniORB/orbcore/corbaFixed.cc Wed Nov 14 19:13:43 2001
+++ src/lib/omniORB/orbcore/corbaFixed.cc Mon Jan 21 17:52:06 2002
@@ -286,5 +286,5 @@
}
- return r + s;
+ return (pd_negative) ? -r - s : r + s;
}
@@ -306,5 +306,5 @@
}
- return r + s;
+ return (pd_negative)? -r - s : r + s;
}
-------------------------------------------------
--
Slava Garelin