radixKey

private fnulong radixKey(Kind K)(PhysicalOf!K value) @safe pure nothrow

The order-preserving unsigned key of one valid value: the total order of the physical type maps onto the unsigned order - NaN greatest and all NaNs one key, -0.0 equal to 0.0, signed integers biased, unsigned integers and narrower integers widened monotonically (D12)

  • so the stable radix reproduces the comparison semantics exactly.

    Parameters

    Kthe (non-BOOLEAN, non-STRING) kind of the value
    valuethe raw valid value

    Returns

    the 64-bit radix key.