List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:December 2 2005 7:52pm
Subject:Re: packarray template class - version 0.1
View as plain text  
On Fri, Dec 02, 2005 at 05:58:18AM -0700, Warren Young wrote:
> You haven't covered the floating point case, though.  The little-known 
> XDR standard can help here: http://www.faqs.org/rfcs/rfc1832.html  There 
> should be some free XDR code out there you can kipe.

I took a look at the RFC, and it appears they use IEEE floating point format
to store floats and doubles.  This is the same format used in C++, as
far as I know.

That's why I assumed using the C++ in-memory representation of double was ok,
and just passed the same value through in the c2buf() templates for double.

Am I missing something?
- Chris

Thread
packarray template class - version 0.1Chris Frey2 Dec
  • Re: packarray template class - version 0.1Warren Young2 Dec
    • Re: packarray template class - version 0.1Chris Frey2 Dec
      • Re: packarray template class - version 0.1Warren Young2 Dec
        • Re: packarray template class - version 0.1Chris Frey2 Dec
          • Re: packarray template class - version 0.1Warren Young2 Dec
    • Re: packarray template class - version 0.1Chris Frey2 Dec
      • Re: packarray template class - version 0.1Warren Young2 Dec
        • Re: packarray template class - version 0.1Chris Frey2 Dec