Skip to content

Commit

Permalink
docs: Update Fibonacci sequence in README
Browse files Browse the repository at this point in the history
Correct the base cases for the Fibonacci sequence in the README.md file. The correct base cases are Fib(0) = 0 and Fib(1) = 1. This improves the accuracy of the documentation and ensures users have the correct information.
  • Loading branch information
erickcestari authored Feb 4, 2024
1 parent 795a9c8 commit f6d7c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ hard. On HVM, you just write the function as it is, and HVM will smoothly
distribute the workload evenly across all available cores.

```javascript
(Fib 0) = 1
(Fib 0) = 0
(Fib 1) = 1
(Fib n) = (+ (Fib (- n 1)) (Fib (- n 2)))
```
Expand Down

0 comments on commit f6d7c16

Please sign in to comment.