The attached library has 10 functions;
result = compare_2(v1, v2)
preset_max(index, value)
preset_min(index, value)
compare_max(index, value)
compare_min(index, value)
value = read_max_register(index)
value = read_min_register(index)
And for the TABLE memory:
max_value = check_table_max(first, last, seed_value)
min_value = check_table_min(first, last, seed_value)
average_value = get_table_average(first, last)