diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 21657dad1..834db7c38 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,12 @@ +2015-06-23 Jon Turney + + * libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu. + * libc/string/strings.tex: Include memrchr and rawmemchr, and add + to menu. + * libm/math/math.tex: Include exp10 and pow10, and add to menu. + * libm/common/s_exp10.c: Improve one-line description. + * libm/common/s_exp10.c: Ditto. + 2015-06-23 Jon Turney * libc/stdlib/Makefile.am (CHEWOUT_FILES): Remove $(MALLOCR).def. diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index 7ec63f15a..fdd495e5d 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -23,6 +23,7 @@ The corresponding declarations are in the header file @file{stdlib.h}. * gcvt:: Format double or float as string * exit:: End program execution * getenv:: Look up environment variable +* itoa:: Integer to string * labs:: Long integer absolute value (magnitude) * ldiv:: Divide two long integers * llabs:: Long long integer absolute value (magnitude) @@ -50,6 +51,7 @@ The corresponding declarations are in the header file @file{stdlib.h}. * wcstoul:: Wide string to unsigned long * wcstoull:: Wide string to unsigned long long * system:: Execute command string +* utoa:: Unsigned integer to string * wcstombs:: Minimal wide string to multibyte string converter * wctomb:: Minimal wide character to multibyte converter @end menu @@ -105,6 +107,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/getenv.def +@page +@include stdlib/itoa.def + @page @include stdlib/labs.def @@ -186,6 +191,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/system.def +@page +@include stdlib/utoa.def + @page @include stdlib/wcstombs.def diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex index ae00a261a..9dfc7990a 100644 --- a/newlib/libc/string/strings.tex +++ b/newlib/libc/string/strings.tex @@ -17,7 +17,9 @@ managing areas of memory. The corresponding declarations are in * memmem:: Find memory segment * memmove:: Move possibly overlapping memory * mempcpy:: Copy memory regions and locate end +* memrchr:: Reverse search for character in memory * memset:: Set an area of memory +* rawmemchr:: Find character in memory * rindex:: Reverse search for character in string * stpcpy:: Copy string returning a pointer to its end * stpncpy:: Counted copy string returning a pointer to its end @@ -85,9 +87,15 @@ managing areas of memory. The corresponding declarations are in @page @include string/mempcpy.def +@page +@include string/memrchr.def + @page @include string/memset.def +@page +@include string/rawmemchr.def + @page @include string/rindex.def diff --git a/newlib/libm/common/s_exp10.c b/newlib/libm/common/s_exp10.c index 12f30036e..23cedfbf3 100644 --- a/newlib/libm/common/s_exp10.c +++ b/newlib/libm/common/s_exp10.c @@ -14,7 +14,7 @@ /* FUNCTION - <>, <>---exponential + <>, <>---exponential, base 10 INDEX exp10 INDEX diff --git a/newlib/libm/common/s_pow10.c b/newlib/libm/common/s_pow10.c index 16ec0046a..052e26d36 100644 --- a/newlib/libm/common/s_pow10.c +++ b/newlib/libm/common/s_pow10.c @@ -14,7 +14,7 @@ /* FUNCTION - <>, <>---exponential + <>, <>---base 10 power functions INDEX pow10 INDEX diff --git a/newlib/libm/math/math.tex b/newlib/libm/math/math.tex index 03268f9b5..a6f931b3e 100644 --- a/newlib/libm/math/math.tex +++ b/newlib/libm/math/math.tex @@ -51,6 +51,7 @@ machines---are available when you include @file{fastmath.h} instead of * cosh:: Hyperbolic cosine * erf:: Error function (erf, erfc) * exp:: Exponential, base e +* exp10:: Exponential, base 10 * exp2:: Exponential, base 2 * expm1:: Exponential, base e, of x - 1 * fabs:: Absolute value (magnitude) @@ -81,6 +82,7 @@ machines---are available when you include @file{fastmath.h} instead of * nearbyint:: Round to integer * nextafter:: Get next representable number * pow:: X to the power Y +* pow10:: 10 to the power X * remainder:: remainder of X divided by Y * remquo:: Remainder and part of quotient * rint:: Round to integer @@ -189,6 +191,8 @@ registered trademark of The IEEE. @page @include math/w_exp.def @page +@include common/s_exp10.def +@page @include math/w_exp2.def @page @include common/s_expm1.def @@ -249,6 +253,8 @@ registered trademark of The IEEE. @page @include math/w_pow.def @page +@include common/s_pow10.def +@page @include math/w_remainder.def @page @include common/s_remquo.def