`
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 ;; 这也是一样
`