A. Jiang
c5e9583748
`<xiosbase>`: Remove non-conforming extension `ios_base::hexfloat` ( #4345 )
2024-01-30 12:30:32 -08:00
A. Jiang
5220c9ce7a
`<xlocnum>`: Drop `ios_base::showpoint` flag when printing non-finite values ( #4212 )
...
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-11-29 12:38:08 -08:00
Casey Carter
0b9ec103d9
make `extern "C"` functions explicitly `noexcept` ( #4106 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-10-25 16:29:21 -07:00
Stephan T. Lavavej
1c928ac899
Tolerate 80-bit `long double` in `<xlocnum>` ( #4032 )
2023-09-21 12:31:06 -07:00
achabense
f98b286a17
Fix `num_get`'s float-parsing problem ( #3982 )
2023-09-07 14:12:04 -07:00
Alex Guteniev
9ad382e2f5
Update preprocessor `#else` comment in product code to clarify which mode is where ( #3900 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-08-10 16:48:21 -07:00
Stephan T. Lavavej
92d050e02b
Drop `#pragma once` in STL headers ( #3895 )
2023-07-26 11:54:17 -07:00
Igor Zhukov
c39d63b466
Fix iostreams with imbued locales to print INFs correctly ( #3877 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-07-20 16:42:14 -07:00
Igor Zhukov
28ea30ae88
fix writing NaN to the output stream with a set locale ( #3868 )
...
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-07-13 19:46:19 -07:00
A. Jiang
a4bb668f72
Move some components from upstream headers to downstream ( #3719 )
...
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-05-30 15:58:38 -07:00
A. Jiang
d3a7da7ace
Cite N4950 in headers and source files ( #3686 )
...
Towards #182 .
- This PR drops all section numbers except for D.x in `<yvals_core.h>`. I decided to cite WG21-N4868 for C++20 deprecation.
- Some citations in `<format>` are intentionally not updated because WG21-P2675R1 and LWG-3631 are not implemented yet.
- Citations in test files are not updated, but I think I'll do it soon.
- Drive-by change: a comment for `move_only_function`'s move assignment operator explaining why it's `noexcept(false)` (see https://github.com/microsoft/STL/pull/3565#discussion_r1134755402 and https://github.com/microsoft/STL/issues/2278#issuecomment-943360927 ).
---------
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2023-05-18 11:38:57 -07:00
A. Jiang
1754c82291
`<xlocnum>`: Fix grouping for `num_get` ( #3684 )
...
* Fix grouping handling for `num_get`
Unblocking one libcxx test:
- std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
---------
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-05-18 09:47:05 -07:00
A. Jiang
368e4b4e71
Implement LWG-2381 Inconsistency in parsing floating point numbers ( #3364 )
...
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: statementreply <statementreply@gmail.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-05-04 18:01:54 -07:00
Casey Carter
cae6660161
Qualify calls to helpers that are in both _STD and _RANGES ( #3270 )
2022-12-15 14:52:46 -08:00
Igor Zhukov
be29af22c0
standardize `^^^ x / !x vvv` comments ( #3208 )
...
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-06 14:25:25 -08:00
Stephan T. Lavavej
296e84079f
Various cleanups ( #3177 )
...
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-10-26 06:14:12 -07:00
Stephan T. Lavavej
2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` ( #3108 )
2022-09-19 14:47:02 -07:00
A. Jiang
6cd74fd6ff
`<xlocale>`: _Uglify non-conforming `locale::c_str()` ( #3088 )
2022-09-13 14:44:25 -07:00
Stephan T. Lavavej
d047fb3fa4
Various header cleanups ( #2802 )
2022-06-19 17:42:13 -07:00
Igor Zhukov
85274ba282
When wchar_t is a real type, users shouldn't see unsigned short machinery ( #2164 )
2022-06-15 17:58:46 -07:00
Stephan T. Lavavej
64afd795a5
Cleanups 6: iostreams: drop `extern`, hide `_Winit` ( #2678 )
2022-05-01 03:44:23 -07:00
Stephan T. Lavavej
9bf8f3f9b0
Even more various cleanups ( #2656 )
2022-04-15 20:21:08 -07:00
Stephan T. Lavavej
18d8f37c99
Various cleanups ( #2140 )
2021-08-26 18:31:36 -07:00
Daniel Marshall
472161105d
Remove SHOUTY BANNERS ( #2074 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Daniel Marshall
c76042bb32
Remove redundant uses of virtual keyword ( #2069 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:25:47 -07:00
Charlie Barto
c12089e489
P0645R10 <format> Text Formatting ( #1821 )
...
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Charles Barto <barto.charlie@gmail.com>
Co-authored-by: Elnar Dakeshov <55715127+eldakesh-ms@users.noreply.github.com>
Co-authored-by: MattStephanson <68978048+MattStephanson@users.noreply.github.com>
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: statementreply <statementreply@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-04-15 00:30:44 -07:00
Stephan T. Lavavej
b6ee7a6e38
Fix boolalpha extraction to be case-sensitive again ( #1543 )
2021-01-14 18:09:50 -08:00
Stephan T. Lavavej
68b344c9dc
Run clang-format 11; no manual changes.
2020-12-10 09:27:45 -08:00
Stephan T. Lavavej
d06561f891
Code cleanups: Unify _Float_traits and _Floating_type_traits ( #1442 )
2020-12-01 14:51:25 -08:00
Stephan T. Lavavej
c9a43aa819
README improvements, minor cleanups ( #1226 )
...
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
2020-08-26 01:18:26 -07:00
statementreply
0b81475cc8
Fix ostream << floating_point not correctly handling precision ( #1173 )
...
1. Hexfloat output now ignores precision as required by the standard. (Fixes #1125.)
2. Zero precision is now correctly passed to sprintf.
3. Negative precision no longer crashes.
2020-08-21 19:20:19 -07:00
Stephan T. Lavavej
e76f500cb3
Code cleanups ( #827 )
2020-05-14 15:58:54 -07:00
Stephan T. Lavavej
2f4c5792b2
Fix CUDA warnings/errors, _Noinit shadowing, other cleanups ( #772 )
2020-05-01 14:53:40 -07:00
Stephan T. Lavavej
fee81ee626
Replace `_STATIC_UNLESS_PURE` with `static`. ( #584 )
...
This was a workaround for a compiler bug (in constexpr initialization)
that has been fixed.
2020-03-03 16:24:56 -08:00
Nikita Kniazev
e59afeab79
<iterator>: reduced parsing time ( #355 )
...
* Replaced `<istream>` include with `<iosfwd>` because `[io]stream_iterator`
needs only `basic_[io]stream` forward declaration.
* Moved `[io]streambuf_iterator` iterator definition to `<iterator>` because
their definition has to come when `<iterator>` is included.
* Include `<iterator>` in `<xlocmon>`, `<xlocnum>`, and `<xloctime>` as
the `[io]streambuf_iterator` definition are required there, and `<xutility>`
already included via other includes.
Parsing times:
| header | clang | msvc |
|------------|-------------------------|-------------------------|
| <iterator> | 0.371 -> 0.163 (-56.1%) | 0.216 -> 0.094 (-56.5%) |
| <istream> | 0.366 -> 0.372 ( +1.6%) | 0.215 -> 0.216 ( +0.5%) |
| <xlocmon> | 0.358 -> 0.364 ( +1.7%) | 0.211 -> 0.211 ( 0%) |
| <xlocnum> | 0.357 -> 0.360 ( +0.8%) | 0.207 -> 0.208 ( +0.5%) |
| <xloctime> | 0.364 -> 0.370 ( +1.6%) | 0.211 -> 0.214 ( +1.4%) |
2019-12-16 17:04:28 -08:00
Stephan T. Lavavej
712b7971bd
Update comments to follow custom autolink syntax ( #168 )
...
* Use custom autolinks.
* Also update .clang-format.
* Use ArchivedOS.
2019-10-11 13:43:06 -07:00
Stephan T. Lavavej
219514876e
Initial commit.
2019-09-04 15:57:56 -07:00