mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
std.math: Add support for FreeBSD x86 53-bit precision reals
This commit is contained in:
parent
a7ba7644ff
commit
ab8221efb0
2 changed files with 40 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue