Skip to content

Commit

Permalink
try to add even more precision in math table
Browse files Browse the repository at this point in the history
  • Loading branch information
GoNZooo committed May 21, 2021
1 parent 11630ba commit 88feec1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions basics/01-values-and-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,22 +186,22 @@ an individual basis in terms of whether or not it makes the code more or less ea

### Boolean & arithmetic operations

| Math | Haskell | Notes |
| :--: | :-----: | :------------------: |
| + | + | |
| - | - | |
| * | * | |
| / | / | |
| > | > | |
| < | < | |
|| >= | |
|| <= | |
| = | == | |
|| /= | |
| xⁿ | x ^ n | n is integral |
| xⁿ | x ** n | `Float` & `Double` |
| mod | rem | `Int` & `Integer`[0] |
| mod | mod | `Int` & `Integer`[0] |
| Math | Haskell | Notes |
| :-----: | :-----: | :-------------------------------------: |
| + | + | |
| - | - | |
| * | * | |
| / | / | |
| > | > | |
| < | < | |
| | >= | |
| | <= | |
| = | == | |
| | /= | |
| xⁿ | x ^ n | x is numeric, n is integral |
| xⁿ | x ** n | x & n are both floating point values |
| x mod n | x rem n | x and n are integral [0] |
| x mod n | x mod n | x and n are integral [0] |

| Math | C | Haskell | Notes |
| :--: | :-: | :-----: | :-----------------: |
Expand Down

0 comments on commit 88feec1

Please sign in to comment.