We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
math/base/special/fibonacci
1 parent 0283804 commit c5b3e0aCopy full SHA for c5b3e0a
lib/node_modules/@stdlib/math/base/special/fibonacci/README.md
@@ -176,11 +176,11 @@ for ( i = 0; i < 79; i++ ) {
176
Computes the nth [Fibonacci number][fibonacci-number].
177
178
```c
179
-double out = stdlib_base_fibonacci( 0 );
180
-// returns 0
+double out = stdlib_base_fibonacci( 0.0 );
+// returns 0.0
181
182
-out = stdlib_base_fibonacci( 1 );
183
-// returns 1
+out = stdlib_base_fibonacci( 1.0 );
+// returns 1.0
184
```
185
186
The function accepts the following arguments:
0 commit comments