Skip to content

Closes #3004: nextafter function - #4219

Merged
1RyanK merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:3004-nextafter_function
Apr 23, 2025
Merged

1RyanK merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:3004-nextafter_function

Conversation

@1RyanK

@1RyanK 1RyanK commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

Created a nextafter function for arkouda. The trick to do it in Chapel is a bit hacky, so I am open to hearing better ways to do it.

Closes #3004: nextafter function

@1RyanK
1RyanK marked this pull request as ready for review April 3, 2025 10:42
Comment thread src/EfuncMsg.chpl Resolved
Comment thread src/EfuncMsg.chpl Resolved

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern had been whether this would work if the test were done on a large range of numbers, so I ran a manual test generating ints from =10^16 to +10^16. The results matched np.nextafter. Nice work.

@1RyanK
1RyanK force-pushed the 3004-nextafter_function branch 2 times, most recently from b4bda48 to 9686483 Compare April 22, 2025 12:41
@1RyanK
1RyanK force-pushed the 3004-nextafter_function branch from 8f77830 to 1a3bda3 Compare April 22, 2025 17:31
@ajpotts
ajpotts enabled auto-merge April 22, 2025 19:42
@ajpotts
ajpotts added this pull request to the merge queue Apr 22, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 22, 2025
@ajpotts
ajpotts added this pull request to the merge queue Apr 23, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 23, 2025
@1RyanK
1RyanK added this pull request to the merge queue Apr 23, 2025
Merged via the queue into Bears-R-Us:master with commit 1e87768 Apr 23, 2025
@1RyanK
1RyanK deleted the 3004-nextafter_function branch April 29, 2025 17:05
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.

nextafter function

5 participants