Skip to content

Commit

Permalink
Cleanup of README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Dec 16, 2024
1 parent 770c0d4 commit 38ede6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ init(unsafe:) // error: %%%%%%

### The magic `Divider<T>` constants

You know how the compiler sometimes replaces division with multiplication, right? Great, now it is your turn to be a wizard! `Divider<T>` and `Divider21<T>` find magic constants that let us perform divisions using multiplication, addition, and shifts. Note that the latter divides numbers twice the size of the divisor.
You know how the compiler sometimes replaces division with multiplication, right? Great, now it is your turn to be a wizard! `Divider<T>` and `Divider21<T>` find magic constants that can divide numbers using only multiplication, addition, and shifts. Note that the latter divides numbers twice the size of the corresponding divisor.

```swift
let random = U8.random()
Expand Down

0 comments on commit 38ede6a

Please sign in to comment.