Skip to content

Instantly share code, notes, and snippets.

View JoaoBaptMG's full-sized avatar

João Baptista de Paula e Silva JoaoBaptMG

View GitHub Profile
@vermorel
vermorel / Half.cs
Last active November 26, 2023 22:43
C# Half-precision data type
/// ================ Half.cs ====================
/// The code is free to use for any reason without any restrictions.
/// Ladislav Lang (2009), Joannes Vermorel (2017)
using System;
using System.Diagnostics;
using System.Globalization;
namespace SystemHalf
{