docs: public static BitString convertDoubleToFixedPointBits(double value)
      {
          if (value < 0.0d || value >= 1.0d)
          {
              throw new IllegalArgumentException("Value must be between 0 and 1.");
          }
          StringBuilder bits = new StringBuilder(64);
          double bitValue = 0.5d;
          double d = value;
          while (d > 0)
          {
              if (d >= bitValue)
              {
                  bits.append('1');
                  d -= bitValue;
              }
              else
              {
                  bits.append('0');
              }
              bitValue /= 2;
          }
          return new BitString(bits.toString());
      }