Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #6188
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Ian Collins <ian-news@hotmail.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: unions |
| Date | Sat, 04 Jun 2011 18:04:35 +1200 |
| Lines | 15 |
| Message-ID | <94u07jFivcU10@mid.individual.net> (permalink) |
| References | <iscfn1$keo$8@reader1.panix.com> <94tun8FivcU7@mid.individual.net> <iscgp0$keo$12@reader1.panix.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net dvuDgbexJNwZlnyQToBshwjRXodRlhN0Ba0l+ySirx1/GWW3iE |
| Cancel-Lock | sha1:udvqG/b1b6HhyXOSicb+3BmwfOc= |
| User-Agent | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 |
| In-Reply-To | <iscgp0$keo$12@reader1.panix.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:6188 |
Show key headers only | View raw
On 06/ 4/11 05:45 PM, Ruben Safir wrote: > On Sat, 04 Jun 2011 17:38:47 +1200, Ian Collins wrote: > >> std::cout<< myunion.x<< std::end >>> is going to spit out some binary translation of a double with 4 bytes >>> of 65 dec, whatever that is. >> >> Maybe, the result is undefined. > > why? Because it is hardware and OS dependent? What if a double was bigger than 10? -- Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
unions Ruben Safir <ruben@mrbrklyn.com> - 2011-06-04 05:26 +0000
Re: unions Ian Collins <ian-news@hotmail.com> - 2011-06-04 17:38 +1200
Re: unions Ruben Safir <ruben@mrbrklyn.com> - 2011-06-04 05:45 +0000
Re: unions Ian Collins <ian-news@hotmail.com> - 2011-06-04 18:04 +1200
Re: unions Ruben Safir <ruben@mrbrklyn.com> - 2011-06-04 06:13 +0000
Re: unions Öö Tiib <ootiib@hot.ee> - 2011-06-04 04:54 -0700
Re: unions Edek <edek.pienkowski@gmail.com> - 2011-06-04 19:59 +0200
Re: unions Vaclav Haisman <v.haisman@sh.cvut.cz> - 2011-06-04 20:13 +0200
Re: unions Edek <edek.pienkowski@gmail.com> - 2011-06-04 22:34 +0200
Re: unions Vaclav Haisman <v.haisman@sh.cvut.cz> - 2011-06-05 07:29 +0200
Re: unions Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-09 09:19 +0000
Re: unions Keith <kbelder@gmail.com> - 2011-06-09 11:17 -0700
Re: unions Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-09 14:29 -0400
Re: unions Edek <edek.pienkowski@gmail.com> - 2011-06-10 13:16 +0200
csiph-web