std.math: Add support for FreeBSD x86 53-bit precision reals

This commit is contained in:
Iain Buclaw 2020-11-09 14:24:32 +01:00
parent a7ba7644ff
commit ab8221efb0
2 changed files with 40 additions and 17 deletions

View file

@ -936,7 +936,8 @@ Complex!T sin(T)(Complex!T z) @safe pure nothrow @nogc
@safe pure nothrow unittest
{
assert(ceqrel(sin(complex(2.0L, 0)), std.math.sin(2.0L)) >= real.mant_dig - 1);
static import std.math;
assert(ceqrel(sin(complex(2.0L, 0)), complex(std.math.sin(2.0L))) >= real.mant_dig - 1);
}
/// ditto