mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Update powi.zig to fix docstring formatting
Without this change, the docs are formatted s.t. the text "Edge case rules ordered by precedence:" is appended onto the prior line of text "Underflow: Absolute value of result smaller than 1", instead of getting its own line.
This commit is contained in:
parent
83f773fc64
commit
718ee31e21
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ const testing = std.testing;
|
|||
/// Errors:
|
||||
/// - Overflow: Integer overflow or Infinity
|
||||
/// - Underflow: Absolute value of result smaller than 1
|
||||
///
|
||||
/// Edge case rules ordered by precedence:
|
||||
/// - powi(T, x, 0) = 1 unless T is i1, i0, u0
|
||||
/// - powi(T, 0, x) = 0 when x > 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue