[Issue 12974] Integer constant exponentiation gives wrong value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 24 01:34:30 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12974

--- Comment #2 from bearophile_hugs at eml.cc ---
ulong(uint.max) ^^ 40UL is something like:

208158641954659548848625708480171133381207412524816152551724014122904182251
307912571997657650065254566688428866939275444029732004368372970852338827367
264791762120127429330987166710374655101628820795072338450535380344923607954
436493529260566657177085349603902288285849258947350283095860468263104249444
251291644696840982120081667552033239985460311393336090041066199773922562599
18212890625

--


More information about the Digitalmars-d-bugs mailing list