• Derek Mauro's avatar
    Remove FloatingPoint::Max() in favor of std::numeric_limits::max() · 544c96ed
    Derek Mauro authored
    In #4113 a user says Max clashes with a macro. Since it is only used in
    a test, use std::numeric_limits::max() instead.
    
    Note that in headers, the macro issue can be mitigated with
    parenthesis like this: `(std::numeric_limits<T>::max)()`
    
    PiperOrigin-RevId: 504284906
    Change-Id: Ibf430caec1a6afdf6b303534fec6a4fd00a6373f
    544c96ed
gmock-matchers-arithmetic_test.cc 52.6 KB