---
title: "ClikaRT::dtype::FloatInfo"
sidebar_label: "FloatInfo"
description: "Numeric properties of a floating-point DataType."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/compute/finfo.h`

Numeric properties of a floating-point [`DataType`](../../index.md#DataType).

## Data members

### bits {#bits}

<div class="api-signature">

`int` **`bits`**

</div>

total stored bits (Float6\_E2M3 -\> 6, Float4\_E2M1 -\> 4).

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 20

</div>

### exponent\_bits {#exponent_bits}

<div class="api-signature">

`int` **`exponent_bits`**

</div>

exponent field width, bits

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 21

</div>

### mantissa\_bits {#mantissa_bits}

<div class="api-signature">

`int` **`mantissa_bits`**

</div>

mantissa (fraction) field width, bits

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 22

</div>

### bias {#bias}

<div class="api-signature">

`int` **`bias`**

</div>

exponent bias.

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 23

</div>

### is\_signed {#is_signed}

<div class="api-signature">

`bool` **`is_signed`**

</div>

has a sign bit (false for E8M0).

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 24

</div>

### has\_infinity {#has_infinity}

<div class="api-signature">

`bool` **`has_infinity`**

</div>

representation has infinities

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 25

</div>

### has\_nan {#has_nan}

<div class="api-signature">

`bool` **`has_nan`**

</div>

representation has NaN

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 26

</div>

### has\_denorm {#has_denorm}

<div class="api-signature">

`bool` **`has_denorm`**

</div>

representation has subnormals

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 27

</div>

### is\_lookup {#is_lookup}

<div class="api-signature">

`bool` **`is_lookup`**

</div>

true for an NF4-style lookup-quantized format.

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 28

</div>

### eps {#eps}

<div class="api-signature">

`float` **`eps`**

</div>

1 ULP at 1.0.

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 29

</div>

### smallest\_normal {#smallest_normal}

<div class="api-signature">

`float` **`smallest_normal`**

</div>

smallest positive NORMAL value

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 30

</div>

### denorm\_min {#denorm_min}

<div class="api-signature">

`float` **`denorm_min`**

</div>

smallest positive subnormal (== smallest\_normal when has\_denorm is false)

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 31

</div>

### min\_value {#min_value}

<div class="api-signature">

`float` **`min_value`**

</div>

most-negative finite value.

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 32

</div>

### max\_value {#max_value}

<div class="api-signature">

`float` **`max_value`**

</div>

most-positive finite value.

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 33

</div>

### dtype {#dtype}

<div class="api-signature">

[`DataType`](../../index.md#DataType) **`dtype`**

</div>

the dtype these facts describe

<div class="api-declared">

Declared in `ClikaRT/compute/finfo.h`, line 34

</div>
