text: 4.120300081267965e+103:
  Pretty nifty!
  2.914708259813678e+257
  When your only tool is a hammer, all problems look like your thumb.
  P.S. Too bad my perl isn't compiled for 64 bits. I had to use the hack below, as my (un)pack-fu isn't strong. (If I were going to redo any of perls features, it would probably be to make a comprehensible pack/unpack facility.)
  $ cat t.cpp
  #include <stdio.h>
  #include <string.h>
  union f {
  char s[32];
  double d;
  } g;
  int main(int, char **s) {
  memcpy(g.s, s[1], sizeof(g));
  printf("%23.16g\n", g.d);
  }
  [download]
  I think I'll play around with it to make it accept bitstrings.
  In reply to Re: Exploring IEEE754 floating point bit patterns.
  by roboticus
  in thread Exploring IEEE754 floating point bit patterns.