login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T22:33:41-08:00 (9 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

It seems that gcl 2.8.pre hits a hard limit with random. The Hyperspec says it shouldn't...

axiom
)lisp (random (expt 10 500))
Value = 432183459919180321074863971722442226112529817099984824352911347787842286751896131223061 67804693230672805240200839937029847354932756991611979387111723021993366313822468031398007646596 39557594288236060949852451713020542910213409259830994143111806206470923689222564226449423790058 66217714100817929932173294498757053458475430838742022090284496406633022109613984916885822906993 98196606043250837812888492906674006132069695400495570185400876862426887030074192594818346839013 422515551610865710144550054391268
axiom
)lisp (random (expt 10 500))
Value = 821279385536918966859149264742389313124816693583964651458868966477111335666069635611211 88885647933240146603663916457934230297214060247036570581822372747034160217357136613711400126961 37211427416934686078925544925060678269580784126761198605171049050277744928514027823865257846319 30190063299846466613315700039856082089766196409183627398876657594286256138968510182106268362256 73805915882037774588902659544877089391144447372886271780350542595722676044657422688115729509270 379693400885304009997620789127896
axiom
)lisp (random (expt 10 500))
Value = 544681825782605027985506885082711726895612588407653848354751235882966764259006649359456 18140246731936888503508777963254294957268901781096747786017914898682173518577553347029735504607 04416866624619906691049039028368922764044711114700755265971880235960268294910954785597741456721 15930996007583034874686898582438244193586215674079817999916219328244642403874934199346957481125 48481382598623768884680076836682626137711060373384390495290618178074583431923337238573418940968 346570395119146694359207370898399

fixed in gcl 2.7.0 --kratt6, Tue, 26 Jun 2007 15:21:49 -0500 reply
Status: open => pending (next release)

Status: pending (next release) => closed




  Subject:   Be Bold !!
  ( 13 subscribers )  
Please rate this page: