• Eli Fidler's avatar
    avoid signed-integer underflow, which is undefined behavior · 760ea431
    Eli Fidler authored
    maybe these tests should just be deleted?
    
    UBSAN gave:
    runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long'
    runtime error: signed integer overflow: -9223372036854775808 - 2 cannot be represented in type 'long'
    760ea431
valuetest.cpp 52.7 KB