# Class: com.pnfsoftware.jeb.util.primitives.Floats



## Constructor: Floats


## Static Method: fromBF16Bits
- parameter: `bits`, type: `int`
- return type: `float`

Description: 
parameter: bits: raw bits of a BF16 \(also named bfloat16, or E8M7 fp\)
return: a float representing the inputs

## Static Method: fromFP16Bits
- parameter: `bits`, type: `int`
- return type: `float`

Description: 
parameter: bits: raw bits of a FP16 \(half\-precision fp\)
return: a float representing the input

## Static Method: getNaNType
- parameter: `f`, type: `float`
- return type: `int`

Description: 
parameter: f: a fp32 float
return: 0=not a NaN; 1=quiet NaN; 2=signaling NaN

## Static Method: getNaNType
- parameter: `bits`, type: `int`
- return type: `int`

Description: 
parameter: bits: raw bits of a fp32 primitive
return: 0=not a NaN; 1=quiet NaN; 2=signaling NaN

## Static Method: getSpecialType
- parameter: `f`, type: `float`
- return type: `int`

Description: 
parameter: f: a fp32 float
return: 0=not a NaN; 1=quiet NaN; 2=signaling NaN, 3=infinite

## Static Method: getSpecialType
- parameter: `bits`, type: `int`
- return type: `int`

Description: 
parameter: bits: raw bits of a fp32 primitive
return: 0=not a NaN; 1=quiet NaN; 2=signaling NaN, 3=infinite

## Static Method: isQuietNaN
- parameter: `f`, type: `float`
- return type: `boolean`


## Static Method: isQuietNaN
- parameter: `bits`, type: `int`
- return type: `boolean`


## Static Method: isSignalingNaN
- parameter: `f`, type: `float`
- return type: `boolean`


## Static Method: isSignalingNaN
- parameter: `bits`, type: `int`
- return type: `boolean`


