FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add rel_one_accuracy_bits() to a{r,c} by edgarcosta · Pull Request #144 · flintlib/python-flint · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .pxd  (1) .pyx  (2) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
1 change: 1 addition & 0 deletions src/flint/flintlib/arb.pxd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ cdef extern from "flint/arb.h":
void arb_nonnegative_part(arb_t u, const arb_t x)
slong arb_rel_error_bits(const arb_t x)
slong arb_rel_accuracy_bits(const arb_t x)
slong arb_rel_one_accuracy_bits(const arb_t x)
long arb_bits(const arb_t x)
void arb_randtest_exact(arb_t x, flint_rand_t state, long prec, long mag_bits)
void arb_randtest_wide(arb_t x, flint_rand_t state, long prec, long mag_bits)
Expand Down
3 changes: 3 additions & 0 deletions src/flint/types/acb.pyx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,9 @@ cdef class acb(flint_scalar):
def rel_accuracy_bits(self):
return acb_rel_accuracy_bits(self.val)

def rel_one_accuracy_bits(self):
return acb_rel_one_accuracy_bits(self.val)

def ei(s):
r"""
Exponential integral `\operatorname{Ei}(s)`.
Expand Down
3 changes: 3 additions & 0 deletions src/flint/types/arb.pyx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -2413,6 +2413,9 @@ cdef class arb(flint_scalar):
def rel_accuracy_bits(self):
return arb_rel_accuracy_bits(self.val)

def rel_one_accuracy_bits(self):
return arb_rel_one_accuracy_bits(self.val)

def lambertw(s, int branch=0):
r"""
Lambert *W* function, `W_k(s)`. Either the principal
Expand Down

Back | FazBrowse Home | New Git URL