Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float generators and documentation #44

Open
uint opened this issue Sep 4, 2017 · 2 comments
Open

Float generators and documentation #44

uint opened this issue Sep 4, 2017 · 2 comments

Comments

@uint
Copy link

uint commented Sep 4, 2017

A couple related issues.

  • The documentation section on generators is outdated. It suggests there's a gen-long-float generator, but that one doesn't seem to exist at all. It also shows defgenerator declarations, although I think those have been dropped in favor of simple function definitions.
  • The float generator that does exist (gen-float) doesn't let you specify the upper and lower bounds separately, which is limiting if you want to, say, generate only positive floats.
@sionescu
Copy link
Member

Good catch, but first I'll need to try to make the docs generator work again or switch to something else.

@Symbolics
Copy link

I was just going to suggest that gen-float should add the ability to generate positive floats. I'll just add my vote here for this, and open another issue for 'x' and 'f' suppression for tests. If you're doing a run of 20K tests for numeric equality, you don't want to see xxxxxxfffxxx... 20K times; a X/Y passed will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants