summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2020-07-24 20:21:47 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-07-28 00:47:18 +0200
commitaf60459a543483c5ad155a92daa8c3a6c00a0829 (patch)
tree7c38ee31d9ee6f37e750033a6df3ca2094ff7187 /tools
parentab92ffd5f6ac3ebd4a7650ef906702ab86127b45 (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