My Project
|
Defines interface of convert.c functions (do not modify) More...
#include "iFloat.h"
Go to the source code of this file.
Functions | |
iFloat_t | toiFloat (const char *str) |
float | fromiFloat (iFloat_t x) |
This file defines the interface to a C file convert.c that converts between float
and iFloat_t
types. Thus, you do not need to declare ANY float
variables anywhere in your code. Note that the test driver testFloat.c
does not use any float
variables.
float fromiFloat | ( | iFloat_t | x | ) |
Convert a iFloat_t
to a float
x | the iFloat_t containing bits for a IEEE floating point value |
float
iFloat_t toiFloat | ( | const char * | str | ) |
Convert a string to a iFloat_t
str | the string to convert |