Class FloatReader

java.lang.Object
com.github.jinahya.bit.io.FloatReader
All Implemented Interfaces:
BitReader<Float>

public class FloatReader extends Object implements BitReader<Float>
A reader for reading float values.
Author:
Jin Kwon <onacit_at_gmail.com>
  • Constructor Details

    • FloatReader

      public FloatReader(int exponentSize, int significandSize)
      Creates a new instance with specified sizes of the exponent part and the significand part.
      Parameters:
      exponentSize - the number of bits for the exponent part; between 1 and 8, both inclusive.
      significandSize - the number of bits for the significand part; between 1 and 23, both inclusive.
  • Method Details