|
|
Choosing A Webhost: |
Re: packarray template class - version 0.1: msg#00010db.mysql.c++
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 -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: packarray template class - version 0.1, Warren Young |
|---|---|
| Next by Date: | mysql++ spec and rpm >= 4.0, Patrick Lin |
| Previous by Thread: | Re: packarray template class - version 0.1, Warren Young |
| Next by Thread: | mysql++ spec and rpm >= 4.0, Patrick Lin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |