Opened 10 years ago

Last modified 10 years ago

#13134 closed defect

real_double logarithm test fails on Solaris — at Version 1

Reported by: jdemeyer Owned by: jason, jkantor
Priority: blocker Milestone: sage-5.1
Component: numerical Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

This is a doctest error on Solaris SPARC introduced by #12557:

sage -t  --long -force_lib devel/sage/sage/rings/real_double.pyx
File "/home/buildbot/build/sage/mark-1/mark_full/build/sage-5.1.beta5/devel/sage-main/sage/rings/real_double.pyx", line 1741:
    sage: all( check_error(x) for x in sxrange(0.01, 2.00, 0.01) )

It turns out that the bug is actually in the ulp() method which returns a value which is a factor 2 too small.

Change History (2)

comment:1 Changed 10 years ago by jdemeyer

  • Description modified (diff)

Changed 10 years ago by jdemeyer

Note: See TracTickets for help on using tickets.