On Wed, 28 Apr 2010 10:02:52 +0900, Robert Jacques <[email protected]>
wrote:
On Tue, 27 Apr 2010 15:37:56 -0300, Masahiro Nakagawa
<[email protected]> wrote:
On Wed, 28 Apr 2010 02:20:58 +0900, Lars T. Kyllingstad
<[email protected]> wrote:
For systems where real is 64 bits it may be possible to use an 80-bit
std.numeric.CustomFloat as an intermediate step between the stored
data and the 64-bit type.
I tried std.numeric.CustomFloat:
-----
alias CustomFloat!(1, 64, 15) RealRep;
-----
But this code doesn't comile...
CustomFloat currently is currently broken. There are some partial
patches (see http://d.puremagic.com/issues/show_bug.cgi?id=3520), but I
don't they will address this issue.
Yeah. CustomFloat uses std.bitmanip.bitfields for internal state, but
bitfields can't deal with large size :(