JuliaLang/julia — pull request #8007 by staticfloat (2014-08-14 22:08:07+00:00)
Title: Have clamp throw a DomainError if interval is poorly defined

One possible solution to #8006