Function ion_c_sys::ion_decimal_compare[][src]

pub unsafe extern "C" fn ion_decimal_compare(
    left: *const ION_DECIMAL,
    right: *const ION_DECIMAL,
    context: *mut decContext,
    result: *mut i32
) -> iERR

Compares ION_DECIMALs for ordering and equivalence under the Ion data model. A negative result indicates that left is less than right. A positive result indicates that left is greater than right. A result of zero indicates that left and right are equivalent under the Ion data model. Non-equivalent values are ordered according to the IEEE 754 total ordering.