InfoWings / Knowledge-Net

Complex data management solution
1 stars 2 forks source link

Range validation fails for [positive value..+inf] and [-inf..negative value] #425

Open underlow opened 5 years ago

underlow commented 5 years ago

Internally infinity represented with 0 and corresponding flags but validation method does not take flags into account and compare bound. So any validation for range [1..+Inf] looks like 1 shoud be greater than 0. Same for negative infinity