Custom Floating Point Representation

Posted by Abion47 on Stack Overflow See other posts from Stack Overflow or by Abion47
Published on 2014-05-28T02:43:46Z Indexed on 2014/05/28 3:25 UTC
Read the original article Hit count: 102

I'm trying to write a parser that will read a particular file type, and I need to map the different data types to C# equivalents. Most of them aren't that difficult, but I'm having trouble wrapping my head around what "int16 with a bias of 14" means. I've deduced that it's some kind of floating point type, so my best bet would be to write a converter that would map it to a float, double, or decimal type. I'm not sure where to take it from here, though.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET