Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Aug 7, 2024
1 parent 8de5e39 commit 9527edd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ let magical = random.division(divider) as Division<U8, U8> // mul-add-shr
precondition(typical == magical) // quotient and remainder
```

You know how the compiler sometimes replaces division with multiplication? Well,
now you can be a wizard too! Divider\<T\> finds same-size magic constants and replaces
division with: multiplication, addition, and shifts.
You know how the compiler sometimes replaces division with multiplication?
Well, now you can be a wizard too! Divider\<Value\> finds same-size magic
constants and replaces division with: multiplication, addition, and shifts.

<a name="doubleintkit"/>

Expand Down
2 changes: 1 addition & 1 deletion Sources/CoreKit/Models/Divider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

/// An integer divider.
///
/// It finds magic constants such that `(A)` and `(B)` are equivalent double-size
/// It finds magic constants such that `A` and `B` are equivalent double-size
/// expressions for all same-size dividends:
///
/// A) (dividend / divisor)
Expand Down

0 comments on commit 9527edd

Please sign in to comment.