| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Chris Frey | Date: | December 2 2005 9:06pm |
| Subject: | Re: packarray template class - version 0.1 | ||
| View as plain text | |||
On Fri, Dec 02, 2005 at 01:26:23PM -0700, Warren Young wrote: > >This is the same format used in C++, as far as I know. > > The IEEE standard allows for different byte ordering. To illustrate: > Run on an x86 box (Linux with GCC or WinXP with VC++), I get: > > sizeof x = 8, value = F6 28 5C 8F C2 35 45 40 > > Run on a G5 PowerMac (GCC 4), I get: > > sizeof x = 8, value = 40 45 35 C2 8F 5C 28 F6 Thanks. Looks like it should be sufficient to convert the float/double data to network byte order too. - Chris
| Thread | ||
|---|---|---|
| • packarray template class - version 0.1 | Chris Frey | 2 Dec |
| • Re: packarray template class - version 0.1 | Warren Young | 2 Dec |
| • Re: packarray template class - version 0.1 | Chris Frey | 2 Dec |
| • Re: packarray template class - version 0.1 | Warren Young | 2 Dec |
| • Re: packarray template class - version 0.1 | Chris Frey | 2 Dec |
| • Re: packarray template class - version 0.1 | Warren Young | 2 Dec |
| • Re: packarray template class - version 0.1 | Chris Frey | 2 Dec |
| • Re: packarray template class - version 0.1 | Warren Young | 2 Dec |
| • Re: packarray template class - version 0.1 | Chris Frey | 2 Dec |
