delorie.com/archives/browse.cgi | search |
DJ Delorie wrote: > > > Does this mean it will return 5 in the last example above? Can > > someone try this on a GNU/Linux box? > > Glibc agrees with djgpp's current implementation. "-5" is returned as > the same bit pattern as (int)(-5). I have come to the conclusion that it is really a standards deficiency, and that both djgpp and glibc are correct. You may wish to follow the same subject line in c.l.c. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE worldnet address!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |