Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36575
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: double bits |
| Date | 2017-05-02 11:52 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <oea9qj$6hu$1@dont-email.me> (permalink) |
| References | <bits-20170502040246@ram.dialup.fu-berlin.de> |
On 5/1/2017 11:08 PM, Stefan Ram wrote:
> Today, I was trying to actually see the double bits.
> [...]
> Well, I am left somewhat confused now. I would not be able
> to predict one of those bit patterns from the number. For
> example, why »1« has so many 1 bits, but then »2« has one
> 1 bit only.
https://en.wikipedia.org/wiki/Double-precision_floating-point_format
> Hope that my conversion method »print« at least is correct.
Cringe-worthy, but correct.
--
esosman@comcast-dot-net.invalid
Thirteen hundred fifty-nine days to go.
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: double bits Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-05-02 11:52 -0400
csiph-web