HFFPRange Struct Reference

HFFPRange is a struct used for representing floating point ranges, similar to NSRange. It contains two long doubles. More...

List of all members.

Public Attributes

long double location
long double length


Detailed Description

This is useful for (for example) showing the range of visible lines. A double-precision value has 53 significant bits in the mantissa - so we would start to have precision problems at the high end of the range we can represent. Long double has a 64 bit mantissa on Intel, which means that we would start to run into trouble at the very very end of our range - barely acceptable.

Member Data Documentation

long double HFFPRange::location

long double HFFPRange::length


The documentation for this struct was generated from the following file:

Generated on Thu Dec 8 10:06:35 2011 for HexFiend by  doxygen 1.5.9