Skip to content

Commit 8234a89

Browse files
committed
8.2.9
1 parent 0dce102 commit 8234a89

5 files changed

Lines changed: 10 additions & 14 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.14)
22

33

4-
project(fast_float VERSION 8.2.8 LANGUAGES CXX)
4+
project(fast_float VERSION 8.2.9 LANGUAGES CXX)
55
set(FASTFLOAT_CXX_STANDARD 11 CACHE STRING "the C++ standard to use for fastfloat")
66
set(CMAKE_CXX_STANDARD ${FASTFLOAT_CXX_STANDARD})
77
option(FASTFLOAT_TEST "Enable tests" OFF)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ sufficiently recent version of CMake (3.11 or better at least):
531531
FetchContent_Declare(
532532
fast_float
533533
GIT_REPOSITORY https://github.com/fastfloat/fast_float.git
534-
GIT_TAG tags/v8.2.8
534+
GIT_TAG tags/v8.2.9
535535
GIT_SHALLOW TRUE)
536536
537537
FetchContent_MakeAvailable(fast_float)
@@ -547,7 +547,7 @@ You may also use [CPM](https://github.com/cpm-cmake/CPM.cmake), like so:
547547
CPMAddPackage(
548548
NAME fast_float
549549
GITHUB_REPOSITORY "fastfloat/fast_float"
550-
GIT_TAG v8.2.8)
550+
GIT_TAG v8.2.9)
551551
```
552552

553553
## Using as single header
@@ -559,7 +559,7 @@ if desired as described in the command line help.
559559

560560
You may directly download automatically generated single-header files:
561561

562-
<https://github.com/fastfloat/fast_float/releases/download/v8.2.8/fast_float.h>
562+
<https://github.com/fastfloat/fast_float/releases/download/v8.2.9/fast_float.h>
563563

564564
## Benchmarking
565565

include/fast_float/ascii_number.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,8 @@ parse_int_string(UC const *p, UC const *pend, T &value,
600600

601601
UC const *const start_digits = p;
602602

603-
FASTFLOAT_IF_CONSTEXPR17((std::is_same<T, std::uint8_t>::value &&
604-
sizeof(UC) == 1)) {
603+
FASTFLOAT_IF_CONSTEXPR17(
604+
(std::is_same<T, std::uint8_t>::value && sizeof(UC) == 1)) {
605605
if (base == 10) {
606606
const size_t len = (size_t)(pend - p);
607607
if (len == 0) {
@@ -693,8 +693,8 @@ parse_int_string(UC const *p, UC const *pend, T &value,
693693
}
694694
}
695695

696-
FASTFLOAT_IF_CONSTEXPR17((std::is_same<T, std::uint16_t>::value &&
697-
sizeof(UC) == 1)) {
696+
FASTFLOAT_IF_CONSTEXPR17(
697+
(std::is_same<T, std::uint16_t>::value && sizeof(UC) == 1)) {
698698
if (base == 10) {
699699
const size_t len = size_t(pend - p);
700700
if (len == 0) {

include/fast_float/float_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#define FASTFLOAT_VERSION_MAJOR 8
2020
#define FASTFLOAT_VERSION_MINOR 2
21-
#define FASTFLOAT_VERSION_PATCH 8
21+
#define FASTFLOAT_VERSION_PATCH 9
2222

2323
#define FASTFLOAT_STRINGIZE_IMPL(x) #x
2424
#define FASTFLOAT_STRINGIZE(x) FASTFLOAT_STRINGIZE_IMPL(x)

tests/fast_int.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,11 +1302,7 @@ int main() {
13021302
// the uint8_t path and the 4-digit uint16_t SWAR path.
13031303
{
13041304
const std::u16string bad16[] = {
1305-
u"",
1306-
u"ℱℲ",
1307-
u"ℱℲℳ",
1308-
u"ℱℲℳℴ",
1309-
u"ℱℲℳℴℵ",
1305+
u"", u"ℱℲ", u"ℱℲℳ", u"ℱℲℳℴ", u"ℱℲℳℴℵ",
13101306
};
13111307
const std::u32string bad32[] = {
13121308
U"",

0 commit comments

Comments
 (0)