Skip to content

Commit

Permalink
update math table
Browse files Browse the repository at this point in the history
Now has more precise exponentiation entry
  • Loading branch information
GoNZooo committed May 21, 2021
1 parent 839930e commit 11630ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basics/01-values-and-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ an individual basis in terms of whether or not it makes the code more or less ea
|| <= | |
| = | == | |
|| /= | |
| ^ | ^ | `Int` & `Integer` |
| ^ | ** | `Float` & `Double` |
| xⁿ | x ^ n | n is integral |
| xⁿ | x ** n | `Float` & `Double` |
| mod | rem | `Int` & `Integer`[0] |
| mod | mod | `Int` & `Integer`[0] |

Expand Down Expand Up @@ -269,8 +269,8 @@ Q> subtractRoundedFloat 5 5.4

5. Define a function that takes a radius of type `Float` and returns the area of a circle[0].

6. Define a function `calculateBMI` that takes a `Float` representing weight and an `Int`
representing height in centimeters and returns the person's BMI.
6. Define a function `calculateBMI` that takes a `Float` representing weight in kilograms and an
`Int` representing height in centimeters and returns the person's BMI.

#### Exercise notes (Functions)

Expand Down

0 comments on commit 11630ba

Please sign in to comment.