mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 01:40:30 +01:00
mesa/main: remove unused IROUNDD
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
This commit is contained in:
parent
64014c8302
commit
df3ce8fb77
1 changed files with 0 additions and 8 deletions
|
|
@ -103,14 +103,6 @@ static inline int IROUND(float f)
|
|||
return (int) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert double to int by rounding to nearest integer, away from zero.
|
||||
*/
|
||||
static inline int IROUNDD(double d)
|
||||
{
|
||||
return (int) ((d >= 0.0) ? (d + 0.5) : (d - 0.5));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert float to int64 by rounding to nearest integer.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue