diff options
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2020-07-24 20:21:47 +0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-07-28 00:47:18 +0200 |
commit | af60459a543483c5ad155a92daa8c3a6c00a0829 (patch) | |
tree | 7c38ee31d9ee6f37e750033a6df3ca2094ff7187 /tools | |
parent | ab92ffd5f6ac3ebd4a7650ef906702ab86127b45 (diff) |
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: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions