From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Elimination of pow() in SBC code
Date: Sun, 28 Nov 2004 08:57:10 -0700 [thread overview]
Message-ID: <41A9F556.6090004@xmission.com> (raw)
In-Reply-To: <1101648751.18467.52.camel@pegasus>
Marcel
> we don't need -lm anymore, but there is still the math.h include and
> this is because of the fabs() function. Any ideas?
the abs functions are usually done with a macro
#define fabs(x) ((x)<0?(-x):(x))
but we could define our own similar macro if you want to stop using math.h
brad
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2004-11-28 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-27 23:51 [Bluez-devel] Elimination of pow() in SBC code Marcel Holtmann
2004-11-28 1:57 ` Henryk Plötz
2004-11-28 12:15 ` Marcel Holtmann
2004-11-28 2:38 ` Brad Midgley
2004-11-28 13:32 ` Marcel Holtmann
2004-11-28 15:57 ` Brad Midgley [this message]
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=41A9F556.6090004@xmission.com \
--to=bmidgley@xmission.com \
--cc=bluez-devel@lists.sourceforge.net \
/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