mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
AK: Change standard casting method of FixedPoint to truncation
This matches what floats do. Also fix typo `trunk`->`trunc`
This commit is contained in:
parent
8526791617
commit
05c959e40b
3 changed files with 29 additions and 27 deletions
|
@ -116,7 +116,7 @@ FixedPoint<16, u32> DMT::MonitorTiming::vertical_frequency_hz() const
|
|||
|
||||
u32 DMT::MonitorTiming::refresh_rate_hz() const
|
||||
{
|
||||
return vertical_frequency_hz().ltrunk();
|
||||
return vertical_frequency_hz().ltrunc();
|
||||
}
|
||||
|
||||
#ifndef KERNEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue