Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36575 > unrolled thread

Re: double bits

Started byEric Sosman <esosman@comcast-dot-net.invalid>
First post2017-05-02 11:52 -0400
Last post2017-05-02 11:52 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: double bits Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-05-02 11:52 -0400

#36575 — Re: double bits

FromEric Sosman <esosman@comcast-dot-net.invalid>
Date2017-05-02 11:52 -0400
SubjectRe: double bits
Message-ID<oea9qj$6hu$1@dont-email.me>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web