Greatest Integer and Other Step Functions