From: "David McIlwraith" <quack@bigpond.net.au>
To: "omit_ECE" <omit@rice.edu>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Double & Integral don't match
Date: Fri, 18 Oct 2002 15:12:11 +1000 [thread overview]
Message-ID: <02e401c27664$eb00caa0$41368490@archaic> (raw)
In-Reply-To: <004301c27664$9d224070$7e0c2a80@OMIT>
No floating point in kernel.
- David McIlwraith
----- Original Message -----
From: "omit_ECE" <omit@rice.edu>
To: <linux-kernel@vger.kernel.org>
Sent: Friday, October 18, 2002 3:10 PM
Subject: Double & Integral don't match
> Hi,
>
> In tcp_input.c, I declare a variable,
> double t_owd_;
> t_owd_ = rcv_tsecr - rcv_tsval;
>
> But in this case, the right side in the equation are integrals,
> which is against to the left side of double.
> I tried,
> t_owd_ = (double) rcv_tsecr - (double) rcv_tsval;
>
> It didn't work. How could I do to make it?
> Thank you.
>
> YuZen
> -
> 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/
next prev parent reply other threads:[~2002-10-18 5:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 5:10 omit_ECE
2002-10-18 5:12 ` David McIlwraith [this message]
2002-10-18 6:14 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='02e401c27664$eb00caa0$41368490@archaic' \
--to=quack@bigpond.net.au \
--cc=linux-kernel@vger.kernel.org \
--cc=omit@rice.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®