Generalised floating point addition: Difference between revisions
Generalised floating point addition (view source)
Revision as of 13:57, 7 December 2023
, 5 months ago→{{header|Wren}}: Minor tidy
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,694:
Although the BigRat type supports multiplication, repeated addition has been used as in the Kotlin example.
<syntaxhighlight lang="
import "./fmt" for Fmt
var repeatedAdd = Fn.new { |br, times|
|