std.math: Remove duplicated RISCV version conditions

This commit is contained in:
Iain Buclaw 2020-06-27 17:12:59 +02:00 committed by Mathias LANG
parent 6d6c02cda7
commit 268b56be49

View file

@ -5579,21 +5579,6 @@ nothrow @nogc:
| 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)
{
enum : ExceptionMask
@ -5721,10 +5706,6 @@ private:
{
alias ControlState = uint;
}
else version (RISCV_Any)
{
alias ControlState = uint;
}
else version (X86_Any)
{
alias ControlState = ushort;