Page MenuHomePhabricator

Use hexadecimal floating point literals instead of decimal
Needs ReviewPublic

Authored by angelsl on Oct 25 2015, 10:00 PM.

Diff Detail

Event Timeline

angelsl updated this revision to Diff 38372.Oct 25 2015, 10:00 PM
angelsl retitled this revision from to Use hexadecimal floating point literals instead of decimal.
angelsl updated this object.
angelsl added a reviewer: compnerd.
angelsl added subscribers: compnerd, llvm-commits.

Would appreciate if someone took a look at this. Quite trivial change. Thanks.

This comment was removed by angelsl.

Would appreciate it if someone reviewed this.

Visual C++ does not support hexadecimal floating point literals.
Since all of these are actually integers they should work without the ".0" and ".0f".

I thought I tested it on MSVC.

I'll check again.