Merge branch 'doc-monetary' into 'master'
update and add spec links for monetary See merge request redox-os/relibc!830
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/// monetary.h implementation for Redox, following the POSIX standard.
|
||||
/// Following https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/monetary.h.html
|
||||
/// `monetary.h` implementation.
|
||||
///
|
||||
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/monetary.h.html>.
|
||||
///
|
||||
/// We should provide a strfmon() implementation that formats a monetary value,
|
||||
/// according to the current locale (TODO).
|
||||
|
||||
@@ -5,6 +5,8 @@ use alloc::string::{String, ToString};
|
||||
use core::{ffi::CStr, ptr, result, slice, str};
|
||||
use libm::{fabs, floor, pow, round, trunc};
|
||||
|
||||
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/strfmon.html>.
|
||||
///
|
||||
/// The `strfmon()` function formats a monetary value according to the format string `format`
|
||||
/// and writes the result to the character array `s` of size `maxsize`.
|
||||
/// The format string can contain plain characters and format specifiers.
|
||||
|
||||
Reference in New Issue
Block a user