Get name of variable at compilation rather than string literal.
This commit is contained in:
parent
5bf2d05031
commit
e5832cf653
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ namespace ARMeilleure.Instructions
|
||||||
roundMode = FPRoundingMode.TowardsMinusInfinity;
|
roundMode = FPRoundingMode.TowardsMinusInfinity;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException($"rm");
|
throw new ArgumentOutOfRangeException(nameof(rm));
|
||||||
}
|
}
|
||||||
return roundMode;
|
return roundMode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue