Skip to content

Commit

Permalink
More README.md stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Dec 16, 2024
1 parent 38ede6a commit a8af93f
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 can divide numbers using only multiplication, addition, and shifts. Note that the latter divides numbers twice the size of the corresponding divisor.
You know how the compiler sometimes replaces division with multiplication, right? Great, now you can be a wizard too! `Divider<T>` and `Divider21<T>` find magic constants and 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 a8af93f

Please sign in to comment.