#8847 closed defect (fixed)
pynac.pyx use double precision special functions instead of long double
Reported by: | mhansen | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-4.4.3 |
Component: | porting: Cygwin | Keywords: | pynac |
Cc: | Merged in: | sage-4.4.3.alpha0 | |
Authors: | Mike Hansen | Reviewers: | Burcin Erocal, Mike Hansen, William Stein |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Many systems such as cygwin don't have the long double version. Plus, they are being applied to floats/doubles so the extra precision doesn't buy much.
Attachments (4)
Change History (11)
Changed 11 years ago by
comment:1 Changed 11 years ago by
- Status changed from new to needs_review
comment:2 Changed 11 years ago by
- Keywords pynac added
- Milestone set to sage-4.4.2
- Reviewers set to Burcin Erocal
- Status changed from needs_review to needs_work
comment:3 Changed 11 years ago by
It'd be nice if we could just do like an ifdef in Cython.
comment:4 Changed 11 years ago by
We can put the ifdef in c_lib/include/ginac_wrapper.h
to define the long double versions on Cygwin. Initially, they could just wrap the double precision functions.
comment:5 Changed 11 years ago by
- Status changed from needs_work to needs_review
I just did something at runtime using a bint. It's very simple, and will have a very minimal performance hit.
Changed 11 years ago by
Changed 11 years ago by
comment:6 Changed 11 years ago by
- Merged in set to 4.4.3.alpha0
- Resolution set to fixed
- Reviewers changed from Burcin Erocal to Burcin Erocal, Mike Hansen, William Stein
- Status changed from needs_review to closed
comment:7 Changed 11 years ago by
- Merged in changed from 4.4.3.alpha0 to sage-4.4.3.alpha0
Note: See
TracTickets for help on using
tickets.
This gives the following doctest failures on my 64-bit T9300 Core 2 Duo laptop, with
gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
and glibc-2.10.1. I have no idea what is relevant, so I give some random information. :)