// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>

using namespace std;

#include "half.hpp"

using namespace half_float;

int main()
{
    half x(0);
    for(int i = 0; i < 2500; i++)
    {
        x += 1;
        if(i % 100 == 0)
        {
            cout << (i + 1) << " : " << x << endl;
        }
    }
    return 0;
}
