var._cmpIntDouble

private int _cmpIntDouble(const var iv, double d) static @safe

Exact ordering between an integer var and a double value.

Preconditions: iv holds one of the integer types; d is not NaN (NaN ordering is handled by the caller, matching the both-floating rules).