Arithmetic derivative: Difference between revisions
Content added Content deleted
imported>Algol68G No edit summary |
imported>Algol68G No edit summary |
||
Line 61: | Line 61: | ||
END |
END |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
|||
<pre> |
|||
D(-99) = -75 |
|||
D(-98) = -77 |
|||
D(-97) = -1 |
|||
D(-96) = -272 |
|||
... |
|||
D(96) = 272 |
|||
D(97) = 1 |
|||
D(98) = 77 |
|||
D(99) = 75 |
|||
D(100) = 140 |
|||
D(10) / 7 = 1 |
|||
D(100) / 7 = 20 |
|||
D(1000) / 7 = 300 |
|||
... |
|||
D(1000000000000000000) / 7 = 1800000000000000000 |
|||
D(10000000000000000000) / 7 = 19000000000000000000 |
|||
D(100000000000000000000) / 7 = 200000000000000000000 |
|||
</pre> |
|||
=={{header|C}}== |
=={{header|C}}== |