8 // A pill is a unit of entropy.
14 bool operator==(Pill
const& that
) const { return this->s_
== that
.s_
; }
15 bool operator!=(Pill
const& that
) const { return !(*this == that
); }
18 unsigned long long s_
;
20 auto static constexpr b32_ndigits_
= ((sizeof(s_
) * CHAR_BIT
) + 4) / 5;
21 char b32_str_
[b32_ndigits_
+ 1];
23 friend std::ostream
& operator<<(std::ostream
& s
, Pill
const& p
)
25 return s
<< p
.b32_str_
;
29 #endif // PILL_DOT_HPP