OpenASIP  2.0
Classes | Macros
HalfFloatWord.cc File Reference
#include "HalfFloatWord.hh"
#include <cmath>
Include dependency graph for HalfFloatWord.cc:

Go to the source code of this file.

Classes

union  FloatConvUnion
 

Macros

#define INFINITY   1.0/0.0
 
#define NAN   0.0/0.0
 

Detailed Description

Author
Heikki Kultala (pjaaskel-no.spam-cs.tut.fi) 2012

This file contains implementation of float16 data type used by simulator.

Definition in file HalfFloatWord.cc.

Macro Definition Documentation

◆ INFINITY

#define INFINITY   1.0/0.0

Definition at line 36 of file HalfFloatWord.cc.

◆ NAN

#define NAN   0.0/0.0

Definition at line 40 of file HalfFloatWord.cc.