Skip to content

Add Division

Add Division #51

Triggered via pull request November 11, 2025 01:01
@Totto16Totto16
synchronize #6
division
Status Failure
Total duration 1m 55s
Artifacts

lint.yml

on: pull_request
C++ lints(clang-format + clang-tidy)
1m 51s
C++ lints(clang-format + clang-tidy)
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
C++ lints(clang-format + clang-tidy)
Process completed with exit code 1.
src/lib/lib.c:2550:3 [bugprone-branch-clone]: src/lib/lib.c#L2550
switch has 3 consecutive identical branches
src/lib/lib.c:2541:41 [bugprone-easily-swappable-parameters]: src/lib/lib.c#L2541
2 adjacent parameters of 'bigint_helper_only_div_impl' of similar type ('BigIntC') are easily swapped by mistake
src/lib/lib.c:2243:28 [bugprone-branch-clone]: src/lib/lib.c#L2243
repeated branch body in conditional chain
src/lib/lib.c:1757:52 [bugprone-easily-swappable-parameters]: src/lib/lib.c#L1757
2 adjacent parameters of 'helper_div_mod_u64_impl' of similar type ('uint64_t') are easily swapped by mistake
src/lib/lib.c:1518:2 [readability-redundant-control-flow]: src/lib/lib.c#L1518
redundant return statement at the end of a function with a void return type
src/lib/lib.c:1484:2 [readability-redundant-control-flow]: src/lib/lib.c#L1484
redundant return statement at the end of a function with a void return type
src/lib/lib.c:1436:5 [readability-else-after-return]: src/lib/lib.c#L1436
do not use 'else' after 'return'
src/lib/lib.c:1412:2 [readability-redundant-control-flow]: src/lib/lib.c#L1412
redundant return statement at the end of a function with a void return type
src/lib/lib.c:1403:5 [readability-else-after-return]: src/lib/lib.c#L1403
do not use 'else' after 'return'
src/lib/lib.c:48:17 [clang-analyzer-optin.portability.UnixAPI]: src/lib/lib.c#L48
Call to 'realloc' has an allocation size of 0 bytes