summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-30[automerger skipped] DO NOT MERGE - ↵r_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseXin Li
qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: e98cd94d29 am: 405d67056b -s ours am skip reason: subject contains skip directive Change-Id: I3ef8628d2053cebccfb3de363c1ed59e0d8444e5
2019-10-30DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵android-r-preview-4android-r-preview-3android-r-preview-2Xin Li
stage-aosp-master am: e98cd94d29 Change-Id: I11069259a9ccc37fcc17413188966dcc9f3077fe
2019-10-30DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵android-r-preview-1Xin Li
stage-aosp-master Bug: 142003500 Change-Id: I7d391c8c55bc597b5d55cfae725ec5a941b32bd8
2019-08-28Fix CR.doubleValue() overflow checking am: 3acae328c6 am: 4065871cda am: ↵Hans Boehm
e67e7eb0a0 am: 1561b1d708 am: aa5ac19173 Change-Id: I0fa26c01134a5520ca431f55b296b79e63726e4b
2019-08-28Fix CR.doubleValue() overflow checking am: 3acae328c6 am: 4065871cda am: ↵Hans Boehm
e67e7eb0a0 am: 1561b1d708 Change-Id: Ib46f08ba242e42cd98013782910c2b0e015c1261
2019-08-28Fix CR.doubleValue() overflow checking am: 3acae328c6 am: 4065871cdaHans Boehm
am: e67e7eb0a0 Change-Id: I83409f51cc0f0f106e3e70e58f845ba28b27f6d9
2019-08-28Fix CR.doubleValue() overflow checking am: 3acae328c6Hans Boehm
am: 4065871cda Change-Id: I65ddfa0b1539d059c17cda8b15bef9c64231ad62
2019-08-28Fix CR.doubleValue() overflow checkingndk-sysroot-r21Hans Boehm
am: 3acae328c6 Change-Id: Ieb61184dc0e8af59a00af0910381ba9a6b11c51e
2019-07-23Fix CR.doubleValue() overflow checkingHans Boehm
We could accidentally generate a NaN/infinity exponent for an overflow result without noticing it. This meant that we occasionally produced a NaN instead of infinity. Fix bit-rot in README.txt testing instructions. Test: Ran as part of art/test/1972-math-prec. Ran crcalc tests. Change-Id: I3b218c22d8ec80557115a74528edfa8747ce6acc
2019-04-03Merge master@5406228 into qt-dev. am: 577c7451c3Bill Rassieur
am: 64a1c14118 Change-Id: Ib1a0ff27e2cbf61f9c1dc57a0224510287182253
2019-04-03Merge master@5406228 into git_qt-dev-plus-aosp.android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseBill Rassieur
am: 24c1121304 Change-Id: Ia8dd89967b8c1071281555af42e7f5961e86a9e9
2019-04-03Merge master@5406228 into qt-dev.Bill Rassieur
am: 577c7451c3 Change-Id: I880b4aae0d1e63c8ef417b866a610efcc7cc2946
2019-03-29Merge master@5406228 into git_qt-dev-plus-aosp.Bill Rassieur
Change-Id: Iebff2debebae11673761f1f2a5bb88525e83f419 BUG: 129345239
2019-03-28Merge master@5406228 into qt-dev.Bill Rassieur
Change-Id: Ib89ae777206affc0bf4744b11497c7d65e376664 BUG: 129345239
2019-03-22Convert external/crcalc to Android.bp am: 3e8c12aba8 am: b882fddd0bColin Cross
am: dfa22ffcbf Change-Id: I622f1253b03f741dfc0ccfb57f67bcb18a3f7c08
2019-03-22Convert external/crcalc to Android.bp am: 3e8c12aba8Colin Cross
am: b882fddd0b Change-Id: Ice16e397ec1fb5b9f1447d5d437740704546f430
2019-03-22Convert external/crcalc to Android.bpandroid-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Colin Cross
am: 3e8c12aba8 Change-Id: I92dd1613c1a4fba2691a20c0610bf657a123626a
2019-03-22Convert external/crcalc to Android.bpandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-o-mr1-iot-release-1.0.12oreo-mr1-iot-releaseColin Cross
See build/soong/README.md for more information. Fixes: 122331934 Test: atest CRTests Change-Id: I28874e7c5327914929cdd0fa292664dd27031307
2019-03-06Make gl_pi_cr exception-safe am: 3dfe34c7e0 am: b1d4a0d26bHans Boehm
am: 207e36f6b3 Change-Id: I35691d121a9c9a08f11b7bdc14f8049634f294ba
2019-03-06Make gl_pi_cr exception-safe am: 3dfe34c7e0Hans Boehm
am: b1d4a0d26b Change-Id: I9b5747e24bd3334df0e853f01a62703ccaa8bbe5
2019-03-06Make gl_pi_cr exception-safeHans Boehm
am: 3dfe34c7e0 Change-Id: Ic531a42df90f52b9bf20e0ae9f23b670f7323832
2019-03-06Make gl_pi_cr exception-safeandroid-q-preview-1android-o-mr1-iot-release-1.0.10Hans Boehm
It used to be the case that we could be interrupted or run out of memory after pushing nulls onto the two arrays capturing past computations, but before changing the nulls to real values. This left us in a corrupted state. Bug: 117705512 Test: crcalc tests, Calculator tests Change-Id: I35a5cf97967ede6fa298c178b5056461906bea1e
2019-02-24[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
am: d38d20e635 -s ours am skip reason: subject contains skip directive Change-Id: I0ad82acf572df5ba94d7895e85688e867288d101
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: Ib5b3ddabb65966690423ace9f29a82daac7891b0
2019-01-10Add default code reviewers into OWNERS am: b80dbf3b74 am: 8079f08863Chih-Hung Hsieh
am: a5e68d85b4 Change-Id: I844691b7b9985d85c2e53983dc4926791f0f0e2e
2019-01-10Add default code reviewers into OWNERS am: b80dbf3b74Chih-Hung Hsieh
am: 8079f08863 Change-Id: I56cbb4762b1aa2df0d4a536ea442cc8cc99bb8dc
2019-01-10Add default code reviewers into OWNERSChih-Hung Hsieh
am: b80dbf3b74 Change-Id: Iaff517d873f5e946f367a2ba4edd823609007ef6
2019-01-10Add default code reviewers into OWNERSChih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: I944df6d9b26af998ad2dc688586868966f732f88
2018-12-10[automerger skipped] DO NOT MERGE am: 9e6e7043bf -s ours am: 723478fca1 -s ↵Xin Li
ours am: f38945fef1 -s ours Change-Id: I4def28d0b17583d36ebdae00e43bd6a166e0e1e0
2018-12-10[automerger skipped] DO NOT MERGE am: 9e6e7043bf -s oursXin Li
am: 723478fca1 -s ours Change-Id: Id06a04c25fbf31933d75c2d2f3761f54be0fe82e
2018-12-10[automerger skipped] DO NOT MERGEXin Li
am: 9e6e7043bf -s ours Change-Id: Iacbb8549996d3135feffcd845d5c81bdaa435641
2018-12-07DO NOT MERGEandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7Xin Li
Merge pie-platform-release (PPRL.181205.001, history only) into master Bug: 120502534 Change-Id: Ide8e527af362dda9cde7f0c24753f912c4b1050f
2018-11-27Fix long-standing integer overflow in compareTo am: 6bf2e1b8f2 am: 2e0a80b8e8Hans Boehm
am: a68492948b Change-Id: I60b69b89ed9d59016ecef00a0e702577b711cf7c
2018-11-27Fix long-standing integer overflow in compareTo am: 6bf2e1b8f2Hans Boehm
am: 2e0a80b8e8 Change-Id: I004e9d972d2a6048130f59ce62470c69c94e219f
2018-11-27Fix long-standing integer overflow in compareToHans Boehm
am: 6bf2e1b8f2 Change-Id: I3a805067939fb91476c58541b7465e35705a9906
2018-11-20Fix long-standing integer overflow in compareToandroid-wear-8.0.0_r2android-n-iot-release-ihome-igv1nougat-iot-releaseHans Boehm
max_msd + r could overflow. Don't believe the original comment. Also fixed a couple of unused variable warnings discovered in the process. Test: Ran provided tests on Android device, and ran various calculator-related tests. Change-Id: I7de61a894267a80cbf3b561616fd8504afc247df
2018-01-14Snap for 4545621 from c42b173b60027d1517cec618f3776fb55e941dd1 to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: Ifbe967b66de58bc4099139d65548e5af6d29e651
2018-01-12Fix another square root performance bug am: 5ee5a59192 am: 41a06cabfcandroid-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseHans Boehm
am: 4383b03a02 Change-Id: Id3ef8a677400eb05580cca238ea6eb1da10d78b5
2018-01-12Fix another square root performance bug am: 5ee5a59192Hans Boehm
am: 41a06cabfc Change-Id: I365ff8da49e5543bc8f1f99b556d0e57217d3aa6
2018-01-12Fix another square root performance bugHans Boehm
am: 5ee5a59192 Change-Id: I46a83d0fb874a51d29a123b82350b9de2e955406
2018-01-11Fix another square root performance bugandroid-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Hans Boehm
Bug: 71686706 This one actually fixes the above issue in AOSP. Without this, sqrt() tended to force evaluation of the argument to twice the the requested precision, which clearly didn't scale. For some reason, that didn't seem to be reproducible for all calculator versions. Test: Calculator tests + CR tests Change-Id: I2cc0053f5e27d5d0364c707fe580aa246bbf99d0
2018-01-11Snap for 4539010 from 773a95a42323114e0363a7653cc3d37b5b9d0fef to pi-releaseandroid-build-team Robot
Change-Id: Ieb4932390bd149aeb074063509768d942bdd1f4c
2018-01-10Fix a couple of square root related performance problems am: 568c8e610b am: ↵Hans Boehm
8d8c9f82a4 am: dd41fd08d7 Change-Id: Ie5fade5ea1555362d2db51eb281a89fdccd911af
2018-01-10Fix a couple of square root related performance problems am: 568c8e610bHans Boehm
am: 8d8c9f82a4 Change-Id: I8588cbb390482bbcd7065003ce54b7f41e28469c
2018-01-10Fix a couple of square root related performance problemsHans Boehm
am: 568c8e610b Change-Id: I10293a6dd97fa86e7a7a7cabe3c763e821448eb3
2018-01-10Fix a couple of square root related performance problemsHans Boehm
Bug: 71686706 Always set appr_valid when we set the approximation. The sqrt_CR constructor used by the pi computation failed to do that. Have square root evaluate the argument to full precision before the recursion. That way we evaluate the argument only once and compute the lesser approximations via simple shifts. Fix the comment summarizing the Newton iteration computation. Rename max_prec_needed, since the name confused me while trying to understand this code again. Test: Calculator tests + CR tests Change-Id: I6d704f24579bae5a5edb4c42487acf1be8fdcee6
2017-12-07Snap for 4489599 from a8af147c43a3c4454ff83583f5bfdcf7b5a84323 to pi-releaseandroid-build-team Robot
Change-Id: I2e769546c2a2c0fc2d3b1bc5d97640e09ca3b079
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc." am: 56d4e91360 ↵Hans Boehm
am: 0c9acfc0d1 am: c0ef89f21b Change-Id: I6943aaed41937d6226347d40e3379da1f1cc0125
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc." am: 56d4e91360Hans Boehm
am: 0c9acfc0d1 Change-Id: I0f2d9fe2bd643603704084a40b108b6764a84e3a
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc."Hans Boehm
am: 56d4e91360 Change-Id: I6215c90f65b1fb8d21161c5be340b83013d90046