This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36178] rand() combined with vectors negates setw()



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-05-08 04:13 -------
I don't see the issue here, rand returns numbers which are greater than 6
digits.  The first number is 16807 which is 5 digits and then the next one is
282475249 which is 9 digits.  setw just sets the minimal  space to be outputted
so if it is more, it will print out more and not pad it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36178


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]