login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
27
Re: Floating Point Issue
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Al Viro <viro@...>
To: mahamuni ashish <ash_lkp@...>
Cc: <linux-kernel@...>
Subject:
Re: Floating Point Issue
Date: Thursday, September 27, 2007 - 11:29 am
On Thu, Sep 27, 2007 at 12:41:41PM +0100, mahamuni ashish wrote:
quoted text
> I have small code.... > > #include <stdio.h> > #include <string.h> > > int main() > { > float f= 1256.35; > char ch[4]; > > printf("\n1. f : %f",f); > memset(ch,'__PLACEHOLDER__0_',strlen(ch) );
strlen() applied to uninitialized array => undefined behaviour. What does that have to do with the kernel, anyway? -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Floating Point Issue
, mahamuni ashish
, (Thu Sep 27, 7:41 am)
Re: Floating Point Issue
, Bernd Petrovitsch
, (Fri Sep 28, 4:31 am)
Re: Floating Point Issue
, linux-os (Dick Johnson)
, (Thu Sep 27, 4:53 pm)
Re: Floating Point Issue
, Jan Engelhardt
, (Thu Sep 27, 5:01 pm)
Re: Floating Point Issue
, Trond Myklebust
, (Thu Sep 27, 2:25 pm)
Re: Floating Point Issue
, Al Viro
, (Thu Sep 27, 11:29 am)
Re: Floating Point Issue
, Xavier Bestel
, (Thu Sep 27, 11:21 am)
Re: Floating Point Issue
, Jan Engelhardt
, (Thu Sep 27, 11:17 am)
Re: Floating Point Issue
, WANG Cong
, (Thu Sep 27, 10:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mark Lord
2.6.25-rc8: FTP transfer errors
Andrew Morton
echo mem > /sys/power/state
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Dushan Tcholich
Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
1012 guests
online.
Online users
herpessymptoms
NeilK
zeekec
europevacation
lose10poundsfa
imexperts
Syndicate