mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: multiplies
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
65efdcd686
commit
47c7c80798
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ static __inline__ Fixed_S64_32 Fixed_S64_32_sub(Fixed_S64_32 a, Fixed_S64_32 b)
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
/// Mixed operations
|
/// Mixed operations
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
// This function muliples a Fixed_S16_3 and Fixed_S32_16 and returns result in Fixed_S16_3 format
|
// This function multiplies a Fixed_S16_3 and Fixed_S32_16 and returns result in Fixed_S16_3 format
|
||||||
static __inline__ Fixed_S16_3 Fixed_S16_3_S32_16_mul(Fixed_S16_3 a, Fixed_S32_16 b) {
|
static __inline__ Fixed_S16_3 Fixed_S16_3_S32_16_mul(Fixed_S16_3 a, Fixed_S32_16 b) {
|
||||||
return Fixed_S16_3( a.raw_value * b.raw_value >> FIXED_S32_16_PRECISION );
|
return Fixed_S16_3( a.raw_value * b.raw_value >> FIXED_S32_16_PRECISION );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue