[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-bug
Subject:    Re: printf doesn't print mismatched formats correctly
From:       Ulrich Drepper <drepper () cygnus ! com>
Date:       1999-05-19 3:29:09
[Download RAW message or body]

"Lars R. Clausen" <lrclause@cs.uiuc.edu.STOPSPAM> writes:

> A statement like
>   printf("%d\n", 4.5);
> should print the decimal representation of the float 4.5, but prints 0:

Did you ever heard about something called "endianess"?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic