Fibonacci sequence: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: increased output window size.) |
|||
Line 10,120: | Line 10,120: | ||
return -$ /*Negative and odd? Return negative sum*/</lang> |
return -$ /*Negative and odd? Return negative sum*/</lang> |
||
{{out|output|text= when using the default inputs:}} |
{{out|output|text= when using the default inputs:}} |
||
<pre style="height: |
<pre style="height:150ex"> |
||
Fibonacci(-40) = -102334155 |
Fibonacci(-40) = -102334155 |
||
Fibonacci(-39) = 63245986 |
Fibonacci(-39) = 63245986 |