mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
Everywhere: Behaviour => Behavior
This commit is contained in:
parent
55b0b06897
commit
6ad427993a
48 changed files with 120 additions and 120 deletions
|
@ -307,7 +307,7 @@ template<typename V, typename T>
|
|||
MakeSigned<T> BytecodeInterpreter::checked_signed_truncate(V value)
|
||||
{
|
||||
if (isnan(value) || isinf(value)) { // "undefined", let's just trap.
|
||||
m_trap = Trap { "Signed truncation undefined behaviour" };
|
||||
m_trap = Trap { "Signed truncation undefined behavior" };
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -330,7 +330,7 @@ template<typename V, typename T>
|
|||
MakeUnsigned<T> BytecodeInterpreter::checked_unsigned_truncate(V value)
|
||||
{
|
||||
if (isnan(value) || isinf(value)) { // "undefined", let's just trap.
|
||||
m_trap = Trap { "Unsigned truncation undefined behaviour" };
|
||||
m_trap = Trap { "Unsigned truncation undefined behavior" };
|
||||
return 0;
|
||||
}
|
||||
double truncated;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue