Skip to content

Commit

Permalink
[Doc] add float examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nydragon committed Mar 10, 2023
1 parent ba02487 commit 517c70c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion doc/bonuses_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,30 @@ It is possible to use strings in our code, they are written using the following

## Floating point numbers

Our language supports **floating point numbers** as well as any **corresponding arithmetic operation** and full array support.
Our language supports **floating point numbers** as well as any **corresponding basic arithmetic operation** and full array support.

```lisp
> (3.2 + 4.5)
7.7
```


```lisp
> (3.2 - 4.5)
-1.3
```


```lisp
> (3.2 * 4.5)
14.400001
```


```lisp
> (3.2 / 4.5)
0.7111111
```

## Rigor

Expand Down
Binary file added doc/bonuses_documentation.pdf
Binary file not shown.

0 comments on commit 517c70c

Please sign in to comment.