commit | b669300a9753893ef900207c38aeff2d467764e5 | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Wed Dec 16 12:28:35 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 16 12:28:35 2015 -0800 |
tree | edfcba83547eb0897237a2547468bb6e708448c8 | |
parent | 54c6fe8519f2927181a0847d22a61190529645e8 [diff] |
only call scalar finite when necessary Mike points that the the ulps compares rank high in path ops profiles. The check for finite scalars is rarely required. Call it less by: - specializing _pin version of compares - checking for 0 divides up front - handling failing cases before comparing - casting float to double before adding R=reed@google.com Review URL: https://codereview.chromium.org/1522183002