This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] |
As I had pointed out in the email thread concerning (possible) undefined shift behavior in lround and llround (http://sourceware.org/ml/newlib/2010/msg00437.html), lrint and llrint both have the same potential issue. Attached is a patch--based on Dave's edits of lround--that fixes the problem. The patch also corrects a minor typo in the comments for the previous lround and llround edits. Change log entry in the second attached file (since my mailer typically mangles them when in the email body). Craig
Attachment:
lrint_patch.txt
Description: lrint_patch.txt
Attachment:
ChangeLog.lrint
Description: ChangeLog.lrint
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |