Opened 8 years ago
Closed 7 years ago
#15097 closed enhancement (fixed)
improve documentation of is_prime
Reported by: | zimmerma | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | sage-6.1 |
Component: | basic arithmetic | Keywords: | beginner |
Cc: | Merged in: | ||
Authors: | Paul Zimmermann | Reviewers: | Julian Rueth |
Report Upstream: | N/A | Work issues: | |
Branch: | u/saraedum/ticket/15097 (Commits, GitHub, GitLab) | Commit: | 940c518e58438f56e9f9e068bbeeac3b31daf355 |
Dependencies: | Stopgaps: |
Description (last modified by )
The documentation of is_prime
says:
sage: n=17 sage: n.is_prime? ... * "proof" -- If False, use a strong pseudo-primality test. If True, use a provable primality test. If unset, use the default arithmetic proof flag.
however no example or pointer is given to explain how to access or change the "default arithmetic proof flag".
Attachments (1)
Change History (8)
Changed 8 years ago by
comment:1 Changed 8 years ago by
- Status changed from new to needs_review
comment:2 Changed 8 years ago by
- Branch set to u/saraedum/ticket/15097
- Created changed from 08/25/13 11:00:58 to 08/25/13 11:00:58
- Modified changed from 08/25/13 11:08:40 to 08/25/13 11:08:40
comment:3 Changed 8 years ago by
- Description modified (diff)
- Milestone changed from sage-5.12 to sage-6.0
- Status changed from needs_review to positive_review
comment:4 Changed 8 years ago by
- Modified changed from 08/28/13 14:46:19 to 08/28/13 14:46:19
comment:5 Changed 7 years ago by
- Milestone changed from sage-6.0 to sage-6.1
comment:6 Changed 7 years ago by
- Commit set to 940c518e58438f56e9f9e068bbeeac3b31daf355
- Reviewers set to Julian Rueth
comment:7 Changed 7 years ago by
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
I abused your ticket to test the git dev scripts. I turned your patch into a branch. I hope you don't mind.