Added a 'smaller' method for doubles