Age | Commit message (Collapse) | Author |
|
8449105f92 am: acd0f55f5a -s ours am: 6a7b102d0d -s ours am: 26b83d7bb1
am: 2627678ada
Change-Id: Icae4b962a39be27bbf20e9367471d167df14e207
|
|
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am: b3d336063c -s ours am: c940a9b998
am: 30b59adf32
Change-Id: I157308c69de8a160b08b45caa6d2680713282d64
|
|
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am: f126b4ea11 -s ours am: 9432e1044b
am: f4f52f6f73
Change-Id: Ia2dcbf166f24f34bb727abe7dc11cc5ab3b1f0db
|
|
8449105f92 am: acd0f55f5a -s ours am: 6a7b102d0d -s ours
am: 26b83d7bb1
Change-Id: I82b55f5e129679fac16720c7c6e41fed43030422
|
|
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am: b3d336063c -s ours
am: c940a9b998
Change-Id: Ibc6ef8eb7d2345f361ab2aad8aec5fd962e1861c
|
|
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am: f126b4ea11 -s ours
am: 9432e1044b
Change-Id: I119d98960f63fafb4f15c141b29dbc92d13cfd5b
|
|
8449105f92 am: acd0f55f5a -s ours
am: 6a7b102d0d -s ours
am skip reason: subject contains skip directive
Change-Id: I6f1ff483a1840c10f316143a0fd3444a03140e77
|
|
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours
am: b3d336063c -s ours
am skip reason: subject contains skip directive
Change-Id: I0e7df6c385fc603eeac5febb4d703b0fecb22c99
|
|
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours
am: f126b4ea11 -s ours
am skip reason: subject contains skip directive
Change-Id: Ie7823dcce173a2171e36f818d97b76aa29a39629
|
|
8449105f92
am: acd0f55f5a -s ours
am skip reason: subject contains skip directive
Change-Id: I4e96ce8bad3035bd478d1b7aca51f686736ae5c8
|
|
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64
am: f0f107c222 -s ours
am skip reason: subject contains skip directive
Change-Id: I1123bb1c4d74301f0df1f55fc06f9eae614358bc
|
|
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d
am: c3a80bd37a -s ours
am skip reason: subject contains skip directive
Change-Id: I7f4c24495e654dc6aff6d452118438c35af5226b
|
|
am: 8449105f92
Change-Id: Ib7b8eafc1b77a835073736229dfa67f3123bf531
|
|
against min()/max() macros am: 7af7a63c2e
am: d190f65c64
Change-Id: If4680e91b42c8d183de0b7e15a9b682f3efa7fb5
|
|
types to integers am: 55b6136b3a
am: 9546d85a3d
Change-Id: I48b42cca42e5a4eeb763de585b72cb0dfb854cd7
|
|
am: 4151c1e35a
Change-Id: I49f7617ddb21955b7f7c8ea2fba95f46eb7b2fc8
|
|
against min()/max() macros
am: 7af7a63c2e
Change-Id: I2e4e0cdbbfa903ab8785f6d71f1afd0468cd1394
|
|
types to integers
am: 55b6136b3a
Change-Id: I621f34d4fdde4ddcf2ca2083e0ab524428e2e188
|
|
am: f7c9cee159 -s ours am: 5d8e33dc3b
am: abb6e0eaea
Change-Id: I58ae41b7f088068cebd863aab5b3868bb7b302fe
|
|
am: f7c9cee159 -s ours
am: 5d8e33dc3b
Change-Id: Icf03abb8c5e14be613898fbcc337fbebf87de18f
|
|
am: f7c9cee159 -s ours
am skip reason: subject contains skip directive
Change-Id: I1f741eee132b134939cee8a66f5558d9be4af7f8
|
|
am: 188246de28 -s ours
am skip reason: subject contains skip directive
Change-Id: Id9f19c6cb973bd6313772dc0edbe0f5f7f648f31
|
|
8e233cb5c6
am: 11569624aa
Change-Id: I2d1646f3c49f9eb64b8df86264508afdc7d6212b
|
|
am: 4c056ce646
am: 7858a1bf96
Change-Id: I2da4654f10d4ba598061c988ed4e3bb8a47e550f
|
|
am: 8e233cb5c6
Change-Id: I4b54697533c5c92f2a0bb3e8aada41746c4b637c
|
|
am: 4c056ce646
Change-Id: I01cdc10fa37bfa77d10e45f2b83a365f710b63c3
|
|
am: 74bbe171bb
Change-Id: I596577098430bf27c7817aaa71ec10a13a44c609
|
|
am: 01ed1e9c7b -s ours
am skip reason: subject contains skip directive
Change-Id: I4cb1a4848ba0f07eef10dde43161bad22152ffc1
|
|
* changes:
DO NOT MERGE: Fix bug in random.
DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float types to integers
|
|
am: 93fa160993
Change-Id: Id3f527a4b8d185b8b907dade75e4a9835ea904eb
|
|
am: 0540b9fc0b
Change-Id: I874bfe8e7f05e4f0fa107108607fd864afdeec5d
|
|
* changes:
Fix bug in random.
[libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
[libc++] Add `__truncating_cast` for safely casting float types to integers
|
|
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours am: 00305f086b
am: 6bda858567
Change-Id: Ia4f8f7554507da7c489f665c63c4464b749316a0
|
|
safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours am: 88e2778807
am: 43b3af6225
Change-Id: I8f53fd278c4fa858e7e0ea213854f5104a1d8a44
|
|
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours
am: 00305f086b
Change-Id: I1d7d9299aa3c34bb8a957d229f7260e030655696
|
|
safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours
am: 88e2778807
Change-Id: I9b2da949187f515aebc8f8d55cf4c90340b07b5a
|
|
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours
am: 2a6b690b1d -s ours
am skip reason: subject contains skip directive
Change-Id: Ia0119dff04bbfa079557d8ef584a33015a8a026b
|
|
safely casting float types to integers am: baeddde44d -s ours
am: c05874bc7f -s ours
am skip reason: subject contains skip directive
Change-Id: Ib6288231862ab8412834eadbc4969dc3c287b920
|
|
<cmath>, and harden against min()/max() macros
am: 280d459517 -s ours
am skip reason: subject contains skip directive
Change-Id: I001eb20e4ab08eb7b6ad1071aaeedc444f3fbfb2
|
|
safely casting float types to integers
am: baeddde44d -s ours
am skip reason: subject contains skip directive
Change-Id: I221f8d2e33ebe88267c42f4784c9ccee87c510e7
|
|
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
|
|
macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9)
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474
(cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
|
|
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.
Thanks to Eric Fiselier for the patch.
Differential Revision: https://reviews.llvm.org/D66836
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74)
(cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad)
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I300b6565137b51bb3051bb629ec3316edf7f71e9
|
|
bb8457c3f4 -s ours am: 4da6874156
am: 6d385bfc4f
Change-Id: I3dafc79fa5d70d05f6f6ff3d2c587ff855fc09a5
|
|
bb8457c3f4 -s ours
am: 4da6874156
Change-Id: If1680d371d39e5b692877b40024c09a1c0cc1454
|
|
am: bb8457c3f4 -s ours
am skip reason: subject contains skip directive
Change-Id: Iebd963b473cb4cd7699de6203b31691aff868ecf
|
|
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
(cherry picked from commit b8d9dff1befd40627b8c2c6e021cd5a3e4fe8b52)
|
|
against min()/max() macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9)
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474
(cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
(cherry picked from commit 21beede0ddfffab3e31961a68f7282b54f3ab52a)
|
|
types to integers
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.
Thanks to Eric Fiselier for the patch.
Differential Revision: https://reviews.llvm.org/D66836
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74)
(cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad)
(cherry picked from commit f4471784fdb5799b9862febc385a26becfbe53b3)
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I3d402ed0237a2f5f934a5d368ca91304bfcd9ed0
|
|
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
|