2 ms·
Yup, It is just a function that multiplies a value by a fixed number. I just named it n-tuple because it rhymes : quadruple, centuple, but perhaps it was the w
by CaiGengYang 11y ago
Yup, It is just a function that multiplies a value by a fixed number.
I just named it n-tuple because it rhymes : quadruple, centuple, but perhaps it was the wrong way to name it.
I was just surprised to realise that there is no limit to the value of n for this type of function that multiplies a value by a fixed number, so I put this on Hackernews.
It was a surprising result, at least to me ...
- bbcbasic 11y agoSame in Haskell there is Int for your normal bounded integer (28 bit I think) and there is Integer which is bounded only by the amount of memory you can allocate on the heap.