• Peter Kasting's avatar
    Checked math cleanup. · 37b8843a
    Peter Kasting authored
    * Add const to various locally-const variables
    * Remove const from function parameters
    * Consistently compute result validity before setting the result, in
      preparation for making the latter conditional on the former
    * Follow style guide better
    * Reduce some deep indentation
    * Brevity
    
    None of these changes are intended to affect functionality.
    
    Bug: none
    Change-Id: I134e055904630f30054baafaa4b6cdb23d4eb16b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585365
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#835899}
    37b8843a
safe_math_arm_impl.h 4.1 KB