According to the documentation (https://electricimp.com/docs/squirrel/squirrelcrib/): Squirrel also provides a three-way comparison operator, <=>, which compares two values and returns a third according the result of that comparison, specifically the difference between the first and second values:
When I used it to compare integers (date and time from Arduino to Imp Clock Time)(hour to hour, month to month, etc.) the operator returned -1 or 0 (presumably 1, also…) but not the magnitude of the difference. There was an Imp update yesterday.