|
|
|
|
|
by singularity2001
2107 days ago
|
|
That's a very good observation. We still could need a (new) term for this common type. Maybe floatbit, softbit, qubit(sic), pot, unitfloat, unit01 or just unitinterval as suggested? This begs an interesting tangential question: Which programming languages allow such resticted intervals as types? type percentage:=int[0,100]
type hexdigit:=int[0,15]
… since this might be overkill, sane programming languages might encourage assert statements inside the functions. |
|