Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2008 18:36:34 +0200
From:      "Ivan Voras" <ivoras@freebsd.org>
To:        hackers@freebsd.org
Subject:   Software floating point library?
Message-ID:  <9bbcef730806280936y1e669a91t2817ba7ca1de22f3@mail.gmail.com>
In-Reply-To: <9bbcef730806280643h7c77d9bbo644a42752e1f59a5@mail.gmail.com>
References:  <9bbcef730806280643h7c77d9bbo644a42752e1f59a5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Does anyone know of a simple, BSD (or compatible) licensed software
math library that emulates floating point numbers? Ideally, it should
be a single .c file library that implements basic operations (+, -, *,
/, negation, comparisons, convert to/from machine integers and
strings), that uses a standard C type (int or long long) to store the
value, and is usable in the kernel.

Alternatively, how about a fixed-point library with the same
properties? (I know it's easy to do, but don't want to reinvent the
wheel again if I don't have to).

Please disregard my earlier message on this subject, if you received it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bbcef730806280936y1e669a91t2817ba7ca1de22f3>