Re: [Orbit-python-list] Possible bug in double-precision floating-point marshalling
Status: Inactive
Brought to you by:
tack
From: Christian R. R. <ki...@as...> - 2001-10-11 17:38:53
|
On Thu, 11 Oct 2001, Chip Richards wrote: > out of orbit-python servers. I have short demo code, in case anyone wants to > see it in action. I first discovered it when trying to pass back a Python > "time.time ()" value, which takes a bit more than "float" precision to > represent accurately. I want the demo code to integrate into the suite; can I have it? :-) > I believe it should look more like this, using CORBA_double as a cast: > > v = (CORBA_double)PyFloat_AsDouble(arg); Fixed locally, will commit with import __doc__ patch. Thanks. Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL |