Skip to content

Question on fc.float() and fc.double() #3658

Answered by dubzzz
JamieMason asked this question in Q&A
Discussion options

You must be logged in to vote

What we call float in fast-check refers to single precision floating point, while what we call double refers to double precision floating point, so both are able to generate integer values as they are part of their scope.

For now, we do not provide any decimal allowing users to say: "I want at least N decimals".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JamieMason
Comment options

Answer selected by JamieMason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants