Opened 12 years ago

Closed 11 years ago

## #11626 closed enhancement (duplicate)

# make the error function work in arbitrary precision

Reported by: | zimmerma | Owned by: | AlexGhitza |
---|---|---|---|

Priority: | minor | Milestone: | sage-duplicate/invalid/wontfix |

Component: | basic arithmetic | Keywords: | |

Cc: | Merged in: | ||

Authors: | Reviewers: | Paul Zimmermann, Karl-Dieter Crisman | |

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description

sage: n(erf(2),54) ... NotImplementedError: erf not implemented for precision higher than 53

However, MPFR contains a multiple precision implementation of erf. It should be straightforward to use.

Paul

PS: maybe this ticket is duplicate. It is not easy to search for `erf`

in trac, a feature, like `grep -w erf`

is missing,
and the TracSearch help is not very useful...

### Change History (5)

### comment:1 follow-up: 2 Changed 12 years ago by

### comment:2 Changed 11 years ago by

### comment:3 Changed 11 years ago by

Milestone: | sage-4.7.2 → sage-duplicate/invalid/wontfix |
---|---|

Reviewers: | → Paul Zimmermann, Karl-Dieter Crisman |

Status: | new → needs_review |

This is then now part of #1173. Putting this as duplicate.

To release manager: positive review as duplicate.

### comment:4 Changed 11 years ago by

Status: | needs_review → positive_review |
---|

### comment:5 Changed 11 years ago by

Resolution: | → duplicate |
---|---|

Status: | positive_review → closed |

**Note:**See TracTickets for help on using tickets.

Does #1173 solve this (it uses mpmath)? It's certainly possible there to do

`erf(2).n(54)`

or such, not sure about your syntax as I don't have a Sage install with this patch currently. But this should do it.You are certainly correct about searching Trac. Sorry that neither this ticket nor #1173 can address that :)