Description: Function with a domain of two different values. (Contributed by FL, 26-Jun-2011) (Revised by Mario Carneiro, 26-Apr-2015)