916 Commits

Author SHA1 Message Date
Daniel Lemire
564af6d074 version 6.1.5 v6.1.5 2024-09-02 15:32:58 -04:00
Daniel Lemire
8c911d9b71
Merge pull request #269 from eukarpov/support-aarch64-w64-mingw32-target
Support aarch64-w64-mingw32 target
2024-09-02 15:32:14 -04:00
Evgeny Karpov
c9f8339668 Fix the formatting and remove the previous condition 2024-09-02 18:13:01 +02:00
Evgeny Karpov
2609d5fd4b The patch resolves GCC compilation issues for the C++ language targeting
aarch64-w64-mingw32.

More information could be found here:
https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662020.html
2024-09-02 17:24:33 +02:00
Daniel Lemire
9117ec4f69 formatting 2024-08-31 18:27:44 -04:00
Daniel Lemire
c8abf94560
Merge pull request #268 from yfeldblum/fix-deprecated-cxx17-cexpr-static-data-defn-out-of-line-redundant
remove out-of-line defns of constexpr static data members under c++17
2024-08-31 18:26:51 -04:00
Yedidya Feldblum
159589d356 remove out-of-line defns of constexpr static data members under c++17
Address warnings of this form under c++17 when building with `-Werror -Wdeprecated`:
```
fast_float/float_common.h:446:58: error: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Werror,-Wdeprecated]
constexpr double binary_format_lookup_tables<double, U>::powers_of_ten[];
                                                         ^
```
2024-08-30 10:30:40 -05:00
Daniel Lemire
f03b76f0e6
Update README.md 2024-08-27 08:25:45 -04:00
Daniel Lemire
6385dca660
Update README.md 2024-08-26 10:49:31 -04:00
Daniel Lemire
cba388b1dc
Update README.md 2024-08-26 10:47:39 -04:00
Daniel Lemire
bc042d6318
Update README.md 2024-08-26 10:18:35 -04:00
Daniel Lemire
56153ba9d8
Update README.md 2024-08-26 10:15:53 -04:00
Daniel Lemire
4c303f4759
Merge pull request #266 from fastfloat/dependabot/github_actions/github-actions-65ba76e7df
Bump the github-actions group with 3 updates
2024-08-24 13:10:10 -04:00
dependabot[bot]
ce0eb58dac
Bump the github-actions group with 3 updates
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 1 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v1...v4)

Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-24 16:19:19 +00:00
Daniel Lemire
202965c7e7
Merge pull request #265 from cclauss/patch-1
Keep GitHub Actions up to date with GitHub's Dependabot
2024-08-24 12:13:18 -04:00
Christian Clauss
63b75cf1dd
Keep GitHub Actions up to date with GitHub's Dependabot
Fixes software supply chain safety warnings like at the bottom right of
https://github.com/fastfloat/fast_float/actions/runs/10534472547

* [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot)
* [Configuration options for the dependabot.yml file - package-ecosystem](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem)
2024-08-24 16:25:23 +02:00
Daniel Lemire
00f25932b0
Merge pull request #263 from fastfloat/doc_issue_261
documentation for issue 261
2024-08-23 19:31:05 -04:00
Daniel Lemire
dab0827f97 documentation for issue 261 2024-08-23 19:29:16 -04:00
Daniel Lemire
3642e92a36
[no-ci] Update README.md 2024-08-14 10:05:20 -04:00
Daniel Lemire
3e57d8dcfb v6.1.4 v6.1.4 2024-08-14 09:58:41 -04:00
Daniel Lemire
5ad6aae0b1 lint 2024-08-14 09:57:47 -04:00
Daniel Lemire
8f3dae6b9f
Merge pull request #260 from fastfloat/intrin-for-umul
Include intrin.h for __umulh
2024-08-14 09:54:41 -04:00
Leszek Swirski
74e3c29215 Include intrin.h for __umulh
Arm64 uses __umulh, so add the same condition for including the intrin.h
header.
2024-08-14 15:10:14 +02:00
Daniel Lemire
d57ca3da1f
Merge pull request #259 from fastfloat/issue258
issue 258
2024-08-03 16:38:10 -04:00
Daniel Lemire
0e7a10ad80
Merge pull request #252 from LeszekSwirski/parse-error
Record parse failure reason and location
2024-08-03 10:08:48 -04:00
Daniel Lemire
3838b00751
Merge pull request #257 from fastfloat/lint
add linter
2024-08-03 10:08:14 -04:00
Daniel Lemire
207d66162a issue 258 2024-08-03 10:02:42 -04:00
Leszek Swirski
b6ce2c4de6 Record parse failure reason and location
In parse_number_string, if there is a parse error, report the specific
error as one of the values in a new parse_error enum, and update
lastmatch to match the error location. This allows users of the library
to print more helpful error messages for invalid inputs.
2024-07-23 18:11:10 +02:00
Daniel Lemire
77b8aa0a33 add linter 2024-07-23 10:42:54 -04:00
Daniel Lemire
d7417618f9 patch release v6.1.3 2024-07-23 10:29:14 -04:00
Daniel Lemire
97036e362c
Merge pull request #256 from fastfloat/json-accept-empty-exponent
Allow JSON empty exponent as trailing junk
2024-07-23 10:28:36 -04:00
Leszek Swirski
e6777f2eef Allow JSON empty exponent as trailing junk
Revert #251, and instead allow an invalid trailing empty exponent to be
treated as junk data in JSON parsing. Expand the test suite to test this
case, including testing the trailing junk.
2024-07-23 14:56:42 +02:00
Daniel Lemire
129f0e807e
Merge pull request #255 from fastfloat/version612
preparing patch release
v6.1.2
2024-07-22 11:42:50 -04:00
Daniel Lemire
0460ab8bd6 preparing patch release 2024-07-22 09:56:25 -04:00
Daniel Lemire
28e7560c23
Merge pull request #253 from fastfloat/update_ci_to_ubuntu24
update CI to ubuntu 24 + safe a shift value to a variable (for elegance)
2024-07-22 09:41:38 -04:00
Daniel Lemire
d65638bf0f [no-ci] renaming CI 2024-07-22 09:39:57 -04:00
Daniel Lemire
ef9a60d516 update CI to ubuntu 24 + safe a shift value to a variable (for elegance) 2024-07-22 09:36:14 -04:00
Daniel Lemire
9468d50c89
Merge pull request #251 from LeszekSwirski/json-empty-exponent
Disallow empty exponent in JSON parsing
2024-07-22 09:07:08 -04:00
Leszek Swirski
b57207c811 Disallow empty exponent in JSON parsing
The JSON spec requires at least one digit in the exponential part, if
specified.
2024-07-22 12:34:58 +02:00
Daniel Lemire
92c79d078b
Merge pull request #249 from zejal/main
from_chars_advanced overload function taking parsed_number_string_t
2024-07-16 10:17:08 -04:00
Daniel Lemire
c8b3ca0d12
Merge pull request #167 from deadalnix/smallest_power_of_ten
Change smallest_power_of_ten to -64 for floats.
2024-06-27 19:03:59 -04:00
zejal
85911abb59 added couple of comments 2024-05-13 19:55:46 +02:00
zejal
1f9b1a6706 from_chars_advanced overload function taking parsed_number_string_t 2024-05-13 14:24:48 +02:00
Daniel Lemire
1fc3ac3932
Merge pull request #245 from fastfloat/removing_dead_function
removing unused function
2024-03-20 16:27:44 -04:00
Daniel Lemire
56a0092895 removing unused function 2024-03-20 14:24:16 -04:00
Daniel Lemire
7c19cafa93
Update README.md 2024-03-19 17:07:43 -04:00
Daniel Lemire
f476bc713f patch v6.1.1 2024-03-17 09:41:36 -04:00
Daniel Lemire
3b54a78805
Merge pull request #243 from matthew-wozniczka/patch-1
Add a missing check that __uint128_t exists before using it.
2024-03-17 09:40:39 -04:00
Matthew Wozniczka
9ab4ac837b
Add a missing check that __uint128_t exists before using it.
I noticed a compilation error when building a 64-bit binary with this library while using xlclang on AIX, and this change seems to fix it.
2024-03-16 12:18:20 -07:00
Daniel Lemire
bafd9d9c5f adding release script. 2024-03-08 18:15:20 -05:00