Permalink
Browse files

Fix a few typos

  • Loading branch information...
neuschaefer authored and somasis committed May 9, 2018
1 parent b9ebe59 commit 208396fa8ea723829b93bb8ba43cd67a9c77575b
Showing with 7 additions and 7 deletions.
  1. +1 −1 bugs-found-by-musl.md
  2. +1 −1 faq.md
  3. +1 −1 getting-started.md
  4. +3 −3 mathematical-library.md
  5. +1 −1 open-issues.md
@@ -38,7 +38,7 @@
- [libtool (makes static linking impossible)](http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11064)
- [glibc 13959 (namespace pollution when \_GNU\_SOURCE is defined)](http://sourceware.org/bugzilla/show_bug.cgi?id=13959)
- [glibc 13988 (scanf %f handles +.e incorrectly)](http://sourceware.org/bugzilla/show_bug.cgi?id=13988)
- [gcc 52451 (float nan comparision without raising invalid and broken -mno-ieee-fp)](http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451)
- [gcc 52451 (float nan comparison without raising invalid and broken -mno-ieee-fp)](http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451)
- [glib 672665 (race in dlsym error detection)](https://bugzilla.gnome.org/show_bug.cgi?id=672665)
- [glib 674446 (g\_malloc aborts on allocation failure)](https://bugzilla.gnome.org/show_bug.cgi?id=674446)
- [glib 674540 (incorrect assert in gconvert)](https://bugzilla.gnome.org/show_bug.cgi?id=674540)
2 faq.md
@@ -192,7 +192,7 @@ Look at the definition of fflush, fread, ungetc on your system, then report this
```
Congratulations, you have just encountered [gnulib], the GNU "portability"
library! The special "appeal of this "portability" library is that it has been
library! The special "appeal" of this "portability" library is that it has been
copied into the source tree of many programs (especially GNU ones). Thus you
can't fix it once and be done, you have to fix it in every single program that
uses it. The authors of this library think it is a good idea to let you run into
@@ -41,7 +41,7 @@ CC="musl-gcc -static" ./configure --prefix=$HOME/musl && make
Use the pre-built cross compilers at [musl-cross] or built it yourself using the
supplied scripts ([git mirror][musl-cross-git]). This gives you a full musl
toolchain, including C+ support. Note that although the scripts are capable of
toolchain, including C++ support. Note that although the scripts are capable of
building compilers targeting other architectures, a cross compiler targeting
your host architecture with musl libc is also useful, as the whole toolchain is
aware of its target libc.
@@ -108,7 +108,7 @@ misimplemented, some examples:
comparisons, inconsistent behaviour on different target archs, broken -mieee
and -mno-ieee flag)
- even experts misinterpret FLT_EVAL_METHOD==2 as "non-deterministic" excess
precision, eventhough the excess precision semantics is well-defined (most
precision, even though the excess precision semantics is well-defined (most
relevant example is gcc spilling x87 registers at double precision by default
instead of extended precision)
- various libraries/tools changing x87 precision setting to non-conformant
@@ -353,7 +353,7 @@ do such optimizations.
Neither gcc nor clang supports the FENV_ACCESS pragma, in which case they should
assume FENV_ACCESS ON for all code for safety, however both compilers assume
FENV_ACCESS OFF and do agressive fp optimizations which cannot be turned off.
FENV_ACCESS OFF and do aggressive fp optimizations which cannot be turned off.
For the gcc issues see <http://gcc.gnu.org/wiki/FloatingPointMath>
@@ -405,7 +405,7 @@ fenv_t e;
long i;
feholdexcept(&e);
i = rint(x);
/* dont raise inexact on overflow */
/* don't raise inexact on overflow */
if (fetestexcept(FE_INVALID))
feclearexcept(FE_INEXACT);
feupdateenv(&e);
@@ -10,7 +10,7 @@ be fixed right away.
It may be desirable to change malloc's bookkeeping so that the chunk footer
contains a pointer back to the header, rather than containing the size. This
would make it significantly harder for an attacker performing a buffer overflow
to avoid checks for the footer having been clobbered. Probably will be defered
to avoid checks for the footer having been clobbered. Probably will be deferred
until the time of a major malloc overhaul/redesign.
# Complex math

0 comments on commit 208396f

Please sign in to comment.