Skip to content

f1r3place/float

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Floating point arithmetic

an IEEE 754 conforming software implementation of basic floating point arithmetic written in pure C

Features

  • support for addition, subtraction, multiplication and division
  • calculations can be carried out with half and full precision
  • prints the result in the same format as the %a format specifier

Build

make all

Usage

float <precision (h | f)> <rounding> <first number (in hex IEEE form)> [<operation> <second number (in hex IEEE form)>]

About

software floating point arithmetic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors