Re:A word for a value between 0 and 1 (inclusive)
by rocqua on Friday September 04, 2020 @04:28AM
(#24372939)
Yeah, this is a pretty significant difference between a set and an element.
[ Parent
| on HN ]
Re:A word for a value between 0 and 1 (inclusive)
by Tainnor on Friday September 04, 2020 @05:29AM
(#24373295)
The fix is simple: Put the type of the variable in the type name. Then "UnitInterval proportion" tells you everything you need to know.
Re:A word for a value between 0 and 1 (inclusive)
by pwdisswordfish4 on Friday September 04, 2020 @06:30AM
(#24373655)
Names of types usually refer to individual members thereof: number, integer, vector, string, list… A variable of a UnitInterval type would one that holds unit intervals. This is no fix.