Changeset 96119 in vbox for trunk/src/VBox/Runtime/common/math
- Timestamp:
- Aug 8, 2022 10:15:00 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152921
- Location:
- trunk/src/VBox/Runtime/common/math
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/math/llround.cpp
r96118 r96119 40 40 if (isfinite(rd)) 41 41 { 42 rd = round(rd);42 rd = RT_NOCRT(round)(rd); 43 43 if (rd >= (double)LLONG_MIN && rd <= (double)LLONG_MAX) 44 44 return (long)rd; -
trunk/src/VBox/Runtime/common/math/llroundf.cpp
r96118 r96119 40 40 if (isfinite(r32)) 41 41 { 42 r32 = roundf(r32);42 r32 = RT_NOCRT(roundf)(r32); 43 43 if (r32 >= (float)LLONG_MIN && r32 <= (float)LLONG_MAX) 44 44 return (long)r32; -
trunk/src/VBox/Runtime/common/math/llroundl.cpp
r96118 r96119 40 40 if (isfinite(lrd)) 41 41 { 42 lrd = roundl(lrd);42 lrd = RT_NOCRT(roundl)(lrd); 43 43 if (lrd >= (long double)LLONG_MIN && lrd <= (long double)LLONG_MAX) 44 44 return (long)lrd; -
trunk/src/VBox/Runtime/common/math/lround.cpp
r96117 r96119 40 40 if (isfinite(rd)) 41 41 { 42 rd = round(rd);42 rd = RT_NOCRT(round)(rd); 43 43 if (rd >= (double)LONG_MIN && rd <= (double)LONG_MAX) 44 44 return (long)rd; -
trunk/src/VBox/Runtime/common/math/lroundf.cpp
r96118 r96119 40 40 if (isfinite(r32)) 41 41 { 42 r32 = roundf(r32);42 r32 = RT_NOCRT(roundf)(r32); 43 43 if (r32 >= (float)LONG_MIN && r32 <= (float)LONG_MAX) 44 44 return (long)r32; -
trunk/src/VBox/Runtime/common/math/lroundl.cpp
r96117 r96119 40 40 if (isfinite(lrd)) 41 41 { 42 lrd = roundl(lrd);42 lrd = RT_NOCRT(roundl)(lrd); 43 43 if (lrd >= (long double)LONG_MIN && lrd <= (long double)LONG_MAX) 44 44 return (long)lrd;
Note:
See TracChangeset
for help on using the changeset viewer.