Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage-4.0.2.rc2 build test problem on ppc os x 10.5 #6346

Closed
williamstein opened this issue Jun 17, 2009 · 5 comments
Closed

sage-4.0.2.rc2 build test problem on ppc os x 10.5 #6346

williamstein opened this issue Jun 17, 2009 · 5 comments

Comments

@williamstein
Copy link
Contributor

this is the only problem:

sage -t -long "devel/sage/sage/rings/number_field/number_field_rel.py"
**********************************************************************
File "/Users/wstein/build/sage-4.0.2.rc2/devel/sage/sage/rings/number_field/number_field_rel.py", line 1767:
    sage: L.places()
Expected:
    [Relative number field morphism:
    From: Number Field in b with defining polynomial x^2 - 5 over its base field
    To:   Real Field with 106 bits of precision
    Defn: b |--> -2.236067977499789696409173668937
    c |--> -1.213411662762229634132131377426,
    Relative number field morphism:
    From: Number Field in b with defining polynomial x^2 - 5 over its base field
    To:   Real Field with 106 bits of precision
    Defn: b |--> 2.236067977499789696411548005367
    c |--> -1.213411662762229634130492421800,
    Relative number field morphism:
    From: Number Field in b with defining polynomial x^2 - 5 over its base field
    To:   Complex Field with 53 bits of precision
    Defn: b |--> -2.23606797749979 - 2.22044604925031e-16*I
    c |--> 0.606705831381115 - 1.45061224918844*I,
    Relative number field morphism:
    From: Number Field in b with defining polynomial x^2 - 5 over its base field
    To:   Complex Field with 53 bits of precision 
    Defn: b |--> 2.23606797749979 - 4.44089209850063e-16*I
    c |--> 0.606705831381115 - 1.45061224918844*I]
Got:
    [Relative number field morphism:
      From: Number Field in b with defining polynomial x^2 - 5 over its base field
      To:   Real Field with 106 bits of precision 
      Defn: b |--> -2.236067977499789696409173668937
            c |--> -1.213411662762229634132131377426, Relative number field morphism:
      From: Number Field in b with defining polynomial x^2 - 5 over its base field
      To:   Real Field with 106 bits of precision 
      Defn: b |--> 2.236067977499789696411548005367
            c |--> -1.213411662762229634130492421800, Relative number field morphism:
      From: Number Field in b with defining polynomial x^2 - 5 over its base field
      To:   Complex Field with 53 bits of precision
      Defn: b |--> -2.23606797749979 - 1.11022302462516e-15*I
            c |--> 0.606705831381116 - 1.45061224918844*I, Relative number field morphism:
      From: Number Field in b with defining polynomial x^2 - 5 over its base field
      To:   Complex Field with 53 bits of precision
      Defn: b |--> 2.23606797749979 - 4.44089209850063e-16*I
            c |--> 0.606705831381115 - 1.45061224918844*I]
**********************************************************************
1 items had failures:
   1 of   4 in __main__.example_54
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/wstein/build/sage-4.0.2.rc2/tmp/.doctest_number_field_rel.py
         [46.5 s]

It's just numerical noise I think. Replace some e- term by ... to fix.

Component: doctest coverage

Author: William Stein

Reviewer: Craig Citro

Merged: 4.0.2.rc3

Issue created by migration from https://trac.sagemath.org/ticket/6346

@williamstein williamstein added this to the sage-4.0.2 milestone Jun 17, 2009
@williamstein
Copy link
Contributor Author

comment:1

Attachment: trac_6346.patch.gz

@craigcitro
Copy link
Member

comment:2

Looks good, and it fixes the issue.

@craigcitro
Copy link
Member

Merged: 4.0.2.rc3

@craigcitro
Copy link
Member

Reviewer: Craig Citro

@craigcitro
Copy link
Member

Author: William Stein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants