Skip to content

feat: added bits function to standardlib#621

Closed
jasonhan3 wants to merge 1 commit into
QuEraComputing:mainfrom
jasonhan3:jasonh/bits-stdlib-add
Closed

feat: added bits function to standardlib#621
jasonhan3 wants to merge 1 commit into
QuEraComputing:mainfrom
jasonhan3:jasonh/bits-stdlib-add

Conversation

@jasonhan3

Copy link
Copy Markdown
Contributor

Created bits functions in the standard library (and created new a subpackage for the standard library).

Changes

  • Created "stdlib" submodule
  • Added functions in "stdlib/bits.py", exposing "bit_length" and "convert_bits"
  • Added tests

@codecov

codecov Bot commented Mar 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 54.16667% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/kirin/stdlib/bits.py 45.00% 11 Missing ⚠️

📢 Thoughts on this report? Let us know!

@jasonhan3 jasonhan3 closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant