<commit_before>Half-precision floating point library						{#mainpage}
=====================================

This is a C++ header-only library to provide an [IEEE 754](http://en.wikipedia.org/wiki/IEEE_754-2008) conformant 16-bit 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.

[TOC]


News														{#news}
====

August 1, 2012
--------------

The first version of the library has been checked into source control and is thus available to the public through the [SVN repository](http://sourceforge.net/p/half/code/), though still waiting for an explicit file release. Additionally the project web containing the library's documentation went online.

July 30, 2012
-------------

The **half** project has finally been registered on [Sourceforge.net](http://sourceforge.net/projects/half/).

--------------------------------------------------------------------------------


Download and Installation									{#downloads}
=========================

The library in its most recent version can be obtained from here, see [Release Notes](ChangeLog.html) for further information:

-	coming soon...

If you are interested in previous versions of the library, see the [Sourceforge download page](http://sourceforge.net/projects/half/files/).

Comfortably enough, the library consists of just a single header file containing all the functionality, which can be directly included by your projects, without the neccessity to build anything or link to anything.

The library imposes some requirements on your C++ implementation:

-	IEEE 754 conformant single-precision `float` type.
-	Support for fixed-width integer types from `<cstdint>`, which comes with C++11.
-	Support for certain C++11 single-precision mathematical functions from `<cmath>` for their half-precision counter-parts to work (**optional**).
-	Support for C++11's `std::hash` from `<functional>` (**optional**, only if hashing enabled by defining `HALF_ENABLE_HASH`).

It has been tested successfully with *Visual C++ 2010*. Please [contact me](#contact) if you have any problems, suggestions or even just success testing it on other platforms.

--------------------------------------------------------------------------------


Documenation												{#doc}
============

Basic usage													{#usage}<commit_msg>Fixed website bug.<commit_after>Half-precision floating point library						{#mainpage}
=====================================

This is a C++ header-only library to provide an [IEEE 754](http://en.wikipedia.org/wiki/IEEE_754-2008) conformant 16-bit 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.

[TOC]


News														{#news}
====

August 1, 2012
--------------

The first version of the library has been checked into source control and is thus available to the public through the [SVN repository](http://sourceforge.net/p/half/code/), though still waiting for an explicit file release. Additionally the project web containing the library's documentation went online.

July 30, 2012
-------------

The **half** project has finally been registered on [Sourceforge.net](http://sourceforge.net/projects/half/).

--------------------------------------------------------------------------------


Download and Installation									{#downloads}
=========================

The library in its most recent version can be obtained from here, see [Release Notes](changelog.html) for further information:

-	coming soon...

If you are interested in previous versions of the library, see the [Sourceforge download page](http://sourceforge.net/projects/half/files/).

Comfortably enough, the library consists of just a single header file containing all the functionality, which can be directly included by your projects, without the neccessity to build anything or link to anything.

The library imposes some requirements on your C++ implementation:

-	IEEE 754 conformant single-precision `float` type.
-	Support for fixed-width integer types from `<cstdint>`, which comes with C++11.
-	Support for certain C++11 single-precision mathematical functions from `<cmath>` for their half-precision counter-parts to work (**optional**).
-	Support for C++11's `std::hash` from `<functional>` (**optional**, only if hashing enabled by defining `HALF_ENABLE_HASH`).

It has been tested successfully with *Visual C++ 2010*. Please [contact me](#contact) if you have any problems, suggestions or even just success testing it on other platforms.

--------------------------------------------------------------------------------


Documenation												{#doc}
============

Basic usage													{#usage}
{'fraction_non_alphanumeric': 0.1744209067511384, 'fraction_numerical': 0.014254603048901207, 'mean_word_length': 3.147783251231527, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3659495', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1130, 'n_words': 557}