diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-27 03:56:51 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-27 03:56:51 -0500 |
commit | f2f2987e74e23bbb01549e6c06ab71513692d9ab (patch) | |
tree | c340713187d6bc5e2ad6c4a945546e1433addb80 /python/tidy/servo_tidy_tests | |
parent | 4dcb05ca4f521b2c5eb12000678be035465e092b (diff) | |
parent | 94ad5aef62dcce01dd25b206e2fb1714e4b6e6c2 (diff) | |
download | servo-f2f2987e74e23bbb01549e6c06ab71513692d9ab.tar.gz servo-f2f2987e74e23bbb01549e6c06ab71513692d9ab.zip |
Auto merge of #11458 - kevgs:log2, r=Manishearth
add log2(u32) and use it to prevent casting to and from float to int
<!-- Please describe your changes on the following line: -->
PR for #11440
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11458)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy_tests')
0 files changed, 0 insertions, 0 deletions