Using the real target "real" type (cross compiling)

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Jan 26 23:29:55 PST 2015


Hi Dan!

On Saturday, 24 January 2015 at 23:20:00 UTC, Dan Olson wrote:
> Kai, I got your longdouble2 branch merged into my local repo 
> with iOS
> support.  I did have to make a few additions to the 
> ldc::longdouble
> class, probably due to my build env with different headers 
> (MacOS SDK
> bundled with Xcode).  I'll share the updates once the dust 
> settles.

Really nice!

> Good news it that longdouble2 works and I get same unittest 
> results as
> my exiting kludge to hardcode real to double (6 module 
> unittests fail
> due to real value miscompare on my iPad mini).  I think it is 
> time for
> me to look closer at the failures: at least one is even 
> documented that
> it only works for 80-bit reals.  -- Dan

Yes, not all tests are implement for all floating point types.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list