Represents a WGSL numeric or boolean value using DoubleAsSupertype.
If non-finite, produces a NonFiniteFloatValueError.