mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Remove bool from public headers
This commit is contained in:
parent
dffee606cf
commit
1351d3cede
55 changed files with 105 additions and 98 deletions
|
@ -24,7 +24,7 @@ forceinline uint32_t __magicu_div(uint32_t x, struct magicu d) {
|
|||
/**
|
||||
* Checks if 𝑑 contains a valid initialized divisor.
|
||||
*/
|
||||
static inline bool __magicu_valid(struct magicu d) {
|
||||
static inline bool32 __magicu_valid(struct magicu d) {
|
||||
if (!d.M && !d.s) return false; /* uninitialized */
|
||||
if (d.s & ~(64 | 63)) return false; /* corrupted */
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue