Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ant6n/ieeelib
Browse files Browse the repository at this point in the history
  • Loading branch information
ant6n committed Sep 17, 2019
2 parents e5e56cb + df34c78 commit 027a6cd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* IEEE 754 format floating-point routines. */
/* Copyright (C) 1991, 1995, 1998 Free Software Foundation, Inc.

This file is part of GNU CC.

GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */

/* As a special exception, if you link this library with other files,
some of which are compiled with GCC, to produce an executable,
this library does not by itself cause the resulting executable
to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ GCC sort of provides it's own soft-float library, presumabley to support embedde
The ieeelib by Torbjorn provides a simple, self-contained, portable way to provide the required functions. Calling `make` should set up the library for 32-bit targets, and then it can be included for example in compilation of x86 programs with `gcc -msoft-float -mno-fp-ret-in-387 -L<directory of libsoft-fp.a> <other-params> -lsoft-fp` (Note the static ieee library has to be provided last).

(Rounding modes or exception bits appear to be missing according to [this discussion](http://gcc.1065356.n8.nabble.com/Torbjorn-s-ieeelib-c-td667693.html))

# License

The License is GPL v2 or later, with a special clause saying that linking with other executables is allowed without causing the resulting executable to be covered under GPL (This is similar to LGPL, which did not exist back in 1999).

0 comments on commit 027a6cd

Please sign in to comment.