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

numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5 #2848

Closed
sagetrac-mabshoff mannequin opened this issue Apr 7, 2008 · 4 comments
Closed

numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5 #2848

sagetrac-mabshoff mannequin opened this issue Apr 7, 2008 · 4 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 7, 2008

Justin Walker reported:

     sage -t  devel/sage/sage/misc/prandom.py
     File "/Users/tmp/sage-3.0.alpha2/tmp/prandom.py", line 241:
         sage: [gauss(0, 100) for i in range(3)]
     Expected:
         [24.916051749154448, -62.992720615792727, -8.1993122536718097]
     Got:
         [24.916051749154448, -62.992720615792727, -8.1993122536718115] 

CC: @RalphieBoy

Component: doctest coverage

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

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-3.0 milestone Apr 7, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Apr 7, 2008
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Apr 7, 2008

Attachment: trac_2848.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Apr 7, 2008

comment:1

Justin,

can you check if this patch fixes it for you. Provided it does fix the issue feel free to give it a positive review ;)

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5/ [needs trivial review] numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5 Apr 7, 2008
@mwhansen
Copy link
Contributor

mwhansen commented Apr 7, 2008

comment:2

Looks good to me.

@mwhansen mwhansen changed the title [needs trivial review] numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5 numerical noise in sage/misc/prandom.py on MacIntel OSX 10.5 Apr 7, 2008
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Apr 7, 2008

comment:3

Merged in Sage 3.0.alpha3

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 7, 2008
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

1 participant