digitalmars.D.bugs - [Issue 5689] New: [64-Bit] uniform() fails with -profile
- d-bugmail puremagic.com (28/28) Mar 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (16/16) Aug 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (11/11) Mar 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (10/10) Mar 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (10/10) Mar 16 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (9/9) Mar 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (9/9) Mar 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
- d-bugmail puremagic.com (11/11) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5689
http://d.puremagic.com/issues/show_bug.cgi?id=5689 Summary: [64-Bit] uniform() fails with -profile Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: mrmocool gmx.de --- Comment #0 from Trass3r <mrmocool gmx.de> 2011-03-03 01:04:42 PST --- import std.random; void main() { auto f = uniform(0.0, 1.0); } $ dmd -m64 -profile profile.d $ ./profile object.Exception dmd/linux/bin/../../src/phobos/std/random.d(932): Invalid distribution range: [0, 0) ---------------- Compiling it without -profile or m64 works. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 03 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5689 --- Comment #1 from Trass3r <mrmocool gmx.de> 2011-08-07 17:37:49 PDT --- Another case: import std.random; void main() { double r1=2*uniform(0.0, 1.0); double r2=2*uniform(0.0, 1.0); } It only fails if both declarations are present. invalid bounding interval [7.69602e+169, -nan) btw, if -inline is added, it yields: invalid bounding interval [7.29112e-304, 1.12477e+218) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 07 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5689 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dawg dawgfoto.de --- Comment #2 from dawg dawgfoto.de 2012-03-15 13:52:38 PDT --- I can't reproduce this. What are your compiler version and parameters. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5689 --- Comment #3 from Trass3r <mrmocool gmx.de> 2012-03-15 22:03:28 CET --- With git dmd on Ubuntu 11.04 it's now: $ dmd -m64 -profile test.d $ ./test object.Exception std/random.d(940): std.random.uniform(): invalid bounding interval [1.42645e+242, 1.62687e+219) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5689 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #6 from dawg dawgfoto.de 2012-03-16 13:24:14 PDT --- https://github.com/D-Programming-Language/druntime/pull/180 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 16 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5689 --- Comment #7 from github-bugzilla puremagic.com 2012-03-21 00:04:58 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/c7dc74a32ea823a86304bb874e7308309dce6f37 Merge pull request #180 from dawgfoto/fix5689 fix issue 5689 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 21 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5689 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5689 --- Comment #8 from github-bugzilla puremagic.com 2012-04-20 20:40:17 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a2e777e0c8d8a474ea04fb5d3ef1748638f4e1aa test case for druntime Bug 5689 https://github.com/D-Programming-Language/dmd/commit/6905b385eb70540193f7d890ef48f216c7bc1086 Merge pull request #820 from dawgfoto/fix5689 test case for druntime Bug 5689 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012