Skip to content

Conversation

DmitryVasilevsky
Copy link
Contributor

@DmitryVasilevsky DmitryVasilevsky commented Apr 21, 2025

  • Added RoundHalfAwayFromZero to standard library.
  • Simplified Round (which is actually rounding half towards zero)
  • Updated comments and added reference to Wikipedia
  • Added tests
  • Changed QasmStd to use this new function instead of separate implementation

Copy link

Change in memory usage detected by benchmark.

Memory Report for 201a96a

Test This Branch On Main Difference
compile core + standard lib 19849189 bytes 19840641 bytes 8548 bytes

Copy link

Change in memory usage detected by benchmark.

Memory Report for fa369d6

Test This Branch On Main Difference
compile core + standard lib 19849189 bytes 19840641 bytes 8548 bytes

@idavis idavis enabled auto-merge April 21, 2025 23:04
@idavis idavis added this pull request to the merge queue Apr 21, 2025
Merged via the queue into main with commit 90961b2 Apr 21, 2025
18 checks passed
@idavis idavis deleted the dmitryv/std-rounding branch April 21, 2025 23:41
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.

4 participants