Skip to content

large interval for a division of lazy numbers #7035

Answered by sloriot
stla asked this question in Q&A
Discussion options

You must be logged in to vote

A computation using lazy numbers will only do computation using the intervals without looking at the exact value. If a predicate is called and the interval is not precise enough, then exact computation will be done and interval representation will be refine. In you my_division, you are calling exact() which triggers exact computation and interval refinement (so it's not lazy).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by stla
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