login
Header Space

 
 

asterixes in xspread, and %3.0f problems...

Previous thread: Re: Ctrl-Alt-Del in linux, doesn't work. by Olaf Erb on Wednesday, August 5, 1992 - 6:49 am. (1 message)

Next thread: Re: .97 (new buffer allocation code) by Linus Benedict Torvalds on Wednesday, August 5, 1992 - 8:03 am. (1 message)
Date: Wednesday, August 5, 1992 - 8:02 am

NOT FROM: Richard Brown rab@ariel.etc.etc...


This might be on interest to the person who was porting xspread to Linux
and reported the bug concerning multiples of ten being replaced by asterixes.
I was tinkering with some simple minded physics C code and noticed that
whenever a printf'd result was a multiple of ten, and the output was 
printf(" %3.0f...   every number that was a multiple of ten did not follow
the print statement format. I guess the compiler is gagging on
the formatting statement, and appears pathologically in xspread as asterixes.

But being a novice programmer (I'm a physicist.. sheesh), thats about as far
as my speculation goes.

I am using gcc2.2.2 and 0.96c.

The results were not incorrect, just the wrong format.

Alistair Scott
afs@tauon.ph.unimelb.edu.au
Previous thread: Re: Ctrl-Alt-Del in linux, doesn't work. by Olaf Erb on Wednesday, August 5, 1992 - 6:49 am. (1 message)

Next thread: Re: .97 (new buffer allocation code) by Linus Benedict Torvalds on Wednesday, August 5, 1992 - 8:03 am. (1 message)
speck-geostationary