mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 23:50:31 +03:00
std.math: Remove duplicated RISCV version conditions
This commit is contained in:
parent
6d6c02cda7
commit
268b56be49
1 changed files with 0 additions and 19 deletions
19
std/math.d
19
std/math.d
|
@ -5579,21 +5579,6 @@ nothrow @nogc:
|
||||||
| inexactException,
|
| inexactException,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else version (RISCV_Any)
|
|
||||||
{
|
|
||||||
enum : ExceptionMask
|
|
||||||
{
|
|
||||||
inexactException = 0x01,
|
|
||||||
divByZeroException = 0x02,
|
|
||||||
underflowException = 0x04,
|
|
||||||
overflowException = 0x08,
|
|
||||||
invalidException = 0x10,
|
|
||||||
severeExceptions = overflowException | divByZeroException
|
|
||||||
| invalidException,
|
|
||||||
allExceptions = severeExceptions | underflowException
|
|
||||||
| inexactException,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else version (X86_Any)
|
else version (X86_Any)
|
||||||
{
|
{
|
||||||
enum : ExceptionMask
|
enum : ExceptionMask
|
||||||
|
@ -5721,10 +5706,6 @@ private:
|
||||||
{
|
{
|
||||||
alias ControlState = uint;
|
alias ControlState = uint;
|
||||||
}
|
}
|
||||||
else version (RISCV_Any)
|
|
||||||
{
|
|
||||||
alias ControlState = uint;
|
|
||||||
}
|
|
||||||
else version (X86_Any)
|
else version (X86_Any)
|
||||||
{
|
{
|
||||||
alias ControlState = ushort;
|
alias ControlState = ushort;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue