add math comparison functions