view .hgsubstate @ 17397:dbdff94bf977

Use std::numeric_limits for floating point bit widths * bitfcns.cc (max_mantissa_value<T>): New utility function. (Fbitshift): Use max_mantissa_value, std::numeric_limits, and sizeof. (Fbitmax): Use max_mantissa_value. Cast output properly for class single.
author Mike Miller <mtmiller@ieee.org>
date Sun, 08 Sep 2013 12:16:44 -0400
parents eb8bf49780fb
children
line wrap: on
line source

6057744acd2c71c069a4b171c5fe1ff0d86c9e5f gnulib-hg