Wishlist: flzero?

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Domain
backend

Research direction

Start by inspecting the math/flonum module and its existing fl2zero? function alongside the other flonum-specific predicates. Done means ordinary flonums have the requested flzero? function, with coverage matching the module's existing tests.

Written by the indexing model from the issue text.

Description

I wish math/flonum (or racket/flonum) had an flzero? function. There are flonum-specific functions for most other arithmetic functions, but not zero?.

Interestingly, math/flonum has fl2zero? for double-doubles, but nothing for ordinary doubles.

Other Scheme implementations, like Gambit-C and Guile, have this function. Internally, Chez Scheme has an flzero? function, but it's not exposed to Racket programs.

Dominant language
Racket
Stars
40
Forks
32
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from racket/math

All issues in racket/math

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.