On Wednesday, 19 December 2012 at 20:44:19 UTC, Robert Jacques
wrote:
See std.numeric.CustomFloat. It supports quarter, half, single,
double and 80-bit. The wikipedia article on the floating point
(IEEE 754) includes a Quad type but not a double-quad or 96-bit
type. 96-bit Should be possible, as it's just 80-bits with
padding. Quad and double quad would be tougher to do, do to the
lack of a quad integer type or a 112-bit bit shift operator.
I did not see anything in the reference docs to indicate
consistency across platform. Do these produce constant results
cross-platform? Actually do any of the basic floating point types
do this (Real excluded)?
--rt