A numerical library needs a well defined behavior of floating point computations (incl. comparisons) on all platforms it supports. Currently it seems vnum is not limited to any platform (as vsl is not limited to any) with the exception of LAPACK/BLAS routines which usually do have well defined limitations and can't be run on all existing platforms.
V does NOT have well defined behavior of floating point comparisons and that's why I'm raising this issue here.
Refer to vlang/v#5180 (comment) for detailed analysis and a sketch of a possible solution.
A numerical library needs a well defined behavior of floating point computations (incl. comparisons) on all platforms it supports. Currently it seems vnum is not limited to any platform (as vsl is not limited to any) with the exception of LAPACK/BLAS routines which usually do have well defined limitations and can't be run on all existing platforms.
V does NOT have well defined behavior of floating point comparisons and that's why I'm raising this issue here.
Refer to vlang/v#5180 (comment) for detailed analysis and a sketch of a possible solution.