`
user=>(require '[clojure.spec.alpha :as s])
nil
user=>(s/def ::dubs1 (s/double-in))
:user/dubs1
user=>(s/valid? ::dubs1 ##NaN)
true ;;看起来正确
user=>(s/def ::dubs2 (s/double-in :min 100.0 :max 200.0))
:user/dubs2
user=>(s/valid? ::dubs2 ##NaN)
false ;;看起来错误
user=>(s/def ::dubs3 (s/double-in :min 100.0 :max 200.0 :NaN? true))
:user/dubs3
user=>(s/valid? ::dubs3 ##NaN)
false ;;这同样是错误的
`