This is a C++ header-only library to provide an IEEE-754 conformant half-precision floating point type along with corresponding arithmetic operators, type conversions and common mathematical functions. It aims for both efficiency and ease of use, trying to accurately mimic the behaviour of the builtin floating point types at the best performance possible. It automatically uses and provides C++11 features when possible, but stays completely C++98-compatible when neccessary.

Features

  • Easy to use half-precision floating point type
  • IEEE 754 conformant data representation
  • All arithmetic operators and mathematical functions
  • Integrating well with existing floating point types
  • Fully C++98-compatible, while supporting C++11 features
  • Single header file simple to include, no building required

Project Activity

See All Activity >

License

MIT License

Follow half

half Web Site

You Might Also Like
See Everything. Miss Nothing. 30-day free trial Icon
See Everything. Miss Nothing. 30-day free trial

Don’t let IT surprises catch you off guard. PRTG keeps an eye on your whole network, so you don’t have to.

As the IT backbone of your company, you can’t afford to miss a thing. PRTG monitors every device, application, and connection - on-premise and in the cloud. You get clear dashboards, smart alerts, and mobile access, so you’re always in control, wherever you are. No more guesswork or manual checks. PRTG’s powerful automation and easy setup mean you spend less time firefighting and more time moving your business forward. Discover how simple and reliable IT monitoring can be.
Try PRTG 30-day full access trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of half!

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Graphics Software, C++ Mathematics Software, C++ Libraries

Registered

2012-07-30