Skip to content
Commit af60459a authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Sebastian Reichel
Browse files

math64: New DIV_S64_ROUND_CLOSEST helper



Provide DIV_S64_ROUND_CLOSEST helper which uses div_s64 to perform
division rounded to the closest integer using signed 64bit
dividend and signed 32bit divisor.

Signed-off-by: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent ab92ffd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment