Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libchrome
/
4518400240c31654ccf6f4c27b88c7c94b4b0165
/
base
/
numerics
99debb1
Remove base::underlying_type, replace uses with std::underlying_type
by danakj
· 8 years ago
ac37f18
Handle large rects better.
by petermayo
· 8 years ago
f007022
Cleanup RangeCheck class and dependencies
by jschuh
· 8 years ago
9e06804
Restructure saturated_cast<> internals
by jschuh
· 8 years ago
ca3263e
Switch IsValueInRangeForNumericType to IsValid()
by jschuh
· 8 years ago
f0da0a3
Convert remaining CheckedNumeric unary operators to constexpr
by jschuh
· 8 years ago
fb023f3
Simplify Checked Add, Sub, and Mul implementations
by jschuh
· 8 years ago
9a524e4
Minor base/numerics cleanup
by jschuh
· 8 years ago
5b6d8c4
SafeUnsignedAbs code size improvement for inlined function
by jschuh
· 8 years ago
bbc3217
Improve saturated_cast performance
by jschuh
· 8 years ago
7848421
Revert of Improve saturated_cast performance (patchset #4 id:160001 of https://codereview.chromium.org/2585043002/ )
by jschuh
· 8 years ago
10d97df
Improve saturated_cast performance
by jschuh
· 8 years ago
7bcde10
Support saturation overrides in saturated_cast
by jschuh
· 8 years ago
65ca783
Revert of Support saturation overrides in saturated_cast (patchset #7 id:180001 of https://codereview.chromium.org/2578613002/ )
by agrieve
· 8 years ago
7dd6c84
Support saturation overrides in saturated_cast
by jschuh
· 8 years ago
40e75c6
Make base/numerics abs match runtime libraries
by jschuh
· 8 years ago
35f29e3
Performance optimizations for base/numerics absolute value and multiply
by jschuh
· 8 years ago
e29fd5f
Revert of Cleanup sign checking in safe math code (patchset #1 id:1 of https://codereview.chromium.org/2564493003/ )
by jschuh
· 8 years ago
c236e8d
Revert of Remove bad comment in HasSignBit (patchset #1 id:1 of https://codereview.chromium.org/2562643005/ )
by jschuh
· 8 years ago
74a4f67
Remove bad comment in HasSignBit
by jschuh
· 8 years ago
3d9f934
Cleanup sign checking in safe math code
by jschuh
· 8 years ago
a42abd9
Remove more unnecessary includes, limits.h and climits in base/numerics
by scottmg
· 8 years ago
45dc140
Remove unused cassert include in base/numerics/safe_conversions.h
by scottmg
· 8 years ago
b840cfa
Cleanup some undefined floating point behavior in base/numerics
by jschuh
· 8 years ago
9e1c2ea
Cleanup base/numerics and make C++11 usage consistent
by jschuh
· 8 years ago
2d9b49d
Rename CheckNum to MakeCheckedNum
by jschuh
· 8 years ago
ebf6cc2
Add support for CheckedNumeric Max and Min constexpr functions
by jschuh
· 8 years ago
fdb2026
Fix a bunch of undefined behavior in CheckedNumericState
by thakis
· 8 years ago
c8199ff
CheckedNumeric cleanups
by jschuh
· 8 years ago
87ffb4b
Fix silent truncations when extracting values from CheckedNumeric
by jschuh
· 8 years ago
cc20ec5
Add back missing ALWAYS_INLINE to saturated math
by enne
· 8 years ago
1771f72
Loosen restrictions on CheckedNumeric bitwise operators
by jschuh
· 8 years ago
a02560a
Add CheckedNumeric::AssignIfValid() method
by jschuh
· 8 years ago
9409ce3
Support overriding the CheckedNumeric value extraction functions
by jschuh
· 8 years ago
55256af
Add bitwise operators for unsigned CheckedNumeric types
by jschuh
· 8 years ago
9d3cb53
Add variadic helper functions for CheckedNumeric math operations
by jschuh
· 8 years ago
14a7bb5
Remove remaining base dependencies from base/numerics
by jschuh
· 8 years ago
b5c13da
Convert simple CheckedNumeric functions to constexpr
by jschuh
· 8 years ago
08fb0b8
Move the remaining CheckedNumeric logic out of the macro
by jschuh
· 8 years ago
446a7ae
Move SaturatedArithmetic from Blink to base
by enne
· 8 years ago
267bc41
Use GCC/Clang builtins for Checked(Add|Sub|Mul)
by jschuh
· 8 years ago
5518f96
Protect base/numerics against change in intmax_t's underlying type
by jschuh
· 8 years ago
e9d4933
Add support for CheckedNumeric bitshift operators
by jschuh
· 8 years ago
61978f0
Performance optimizations for Checked(Add|Sub|Mul|Div)
by jschuh
· 8 years ago
4c2c716
Restructure ArithmeticPromotion to support alternate promotions
by jschuh
· 8 years ago
70a5714
Simplify CheckedNumeric macros
by jschuh
· 8 years ago
5b9f3db
Make checked_cast a constexpr
by jschuh
· 8 years ago
7ac23b7
Make Checked* functions better align with GCC/Clang intrinsics
by jschuh
· 8 years ago
ab681e6
Simplify Checked arithmetic functions in base/numerics
by jschuh
· 8 years ago
0918d74
Fix some lurking div by 0s in safe_math_impl.h
by tsepez
· 8 years ago
90e97f4
Fix small style issues in safe_math_impl.h
by tsepez
· 8 years ago
b24354f
Fix undefined behavior in base/numerics
by jschuh
· 8 years ago
7482e1f
Include type_traits in safe_conversions_impl
by thomasanderson
· 8 years ago
4a31622
Use EXPECT_DEATH instead of EXPECT_DCHECK_DEATH in tests that don't actually DCHECK-die.
by xyzzyz
· 8 years ago
73fdcc3
Change EXPECT/ASSERT_DCHECK_DEATH macro to not expose the |regex| parameter.
by gab
· 8 years ago
fb83c5a
Unify usage of logging/assert macros in base/
by gab
· 8 years ago
029ea7a
Simplify validity detection in SafeNumerics tests
by jschuh
· 8 years ago
e702d59
Cleanup some constexpr nits in base/numerics
by jschuh
· 8 years ago
ce4e2f8
Remove default int promotions in base/numerics
by jschuh
· 8 years ago
ff76be5
Fix CheckedMul error with zero arguments
by jschuh
· 8 years ago
e1509d1
Make base::saturated_cast a constexpr
by jschuh
· 8 years ago
ed0c438
Use CHAR_BIT in base/numerics
by jschuh
· 8 years ago
5054003
Restrict fallthrough binary operator cases to arithmetic types.
by rickyz
· 8 years ago
22e866b
Add constexpr to base/numerics conversion functions
by jschuh
· 8 years ago
56bd765
Replace template_util.h stuff with C++11 <type_traits>
by tzik
· 9 years ago
b510eb9
Switch base/numerics to std::is_same
by jschuh
· 9 years ago
d3f429b
Fix error in CheckedNumeric usage comment
by jschuh
· 9 years ago
a40192a
Remove random lonely semicolons.
by thestig
· 9 years ago
a6a6a68
Switch to standard integer types in base/.
by avi
· 9 years ago
46033b5
base: Make saturated_cast behavior for NaNs configurable.
by vmpstr
· 9 years ago
5d21333
Remove base::enable_if
by vmpstr
· 9 years ago
076fb52
base: Add support for compound CheckedNumeric operations.
by vmpstr
· 9 years ago
5131e45
Add IsValueNegative to base/numerics
by jschuh
· 9 years ago
02b9ef6
Implement CheckedNumeric::UnsignedAbs()
by jschuh
· 9 years ago
9110131
Remove base's implicit_cast.
by danakj
· 9 years ago
5f9a10b
Fix float to int conversion in base/numerics
by jschuh
· 9 years ago
5d945ad
Replace gfx::ClampToInt with base::saturated_cast.
by danakj
· 9 years ago
7940ae9
Add strictly checked numeric types
by jschuh
· 9 years ago
bdace95
Fix a division by zero when multiplying 0 * y with SafeNumerics.
by eroman
· 9 years ago
0393da3
base: Fix/add header #ifndef guards.
by danakj
· 10 years ago
0540c6b
Revert of base: Fix/add header #ifndef guards. (patchset #2 id:20001 of https://codereview.chromium.org/985003004/)
by bnc
· 10 years ago
81d2a16
base: Fix/add header #ifndef guards.
by danakj
· 10 years ago
f0cd0c6
Remove unused MSVS 2013 hack from base/numerics
by jschuh
· 10 years ago
d80eded
Convert COMPILE_ASSERT to static_assert in base/numerics
by jschuh
· 10 years ago
9043c4e
Fix more disabled MSVC warnings, base/ edition.
by pkasting
· 10 years ago
62bf6ba
Roll gtest and gmock DEPS.
by ncbray@chromium.org
· 10 years ago
0398341
Remove unused header in safe_math_impl.h
by jschuh@chromium.org
· 10 years ago
190b8c3
Add required header for RangeConstraint definition.
by eroman@chromium.org
· 11 years ago
4fe236b
Add support for safe math operations in base/numerics
by jschuh@chromium.org
· 11 years ago
f6c76ad
Refactor base/safe_numerics.h
by jschuh@chromium.org
· 11 years ago