729 Commits

Author SHA1 Message Date
Anders Dalvander
23787fc71a fix #276: parse_infnan handles FASTFLOAT_ALLOWS_LEADING_PLUS correctly 2024-11-17 16:23:01 +01:00
Anders Dalvander
72b2a7382a const ness 2024-11-17 16:22:05 +01:00
Anders Dalvander
1df71f1e9d add failing test 2024-11-17 16:20:44 +01:00
Anders Dalvander
269867fa43 spelling 2024-11-17 16:17:35 +01:00
Daniel Lemire
e800cabe48
Merge pull request #274 from BYVoid/bazel
Add Bazel build rules.
2024-11-01 17:01:12 -04:00
Carbo Kuo
d65285a48c Add Bazel build rules. 2024-11-01 09:16:24 -04:00
Daniel Lemire
7665574628
Merge pull request #272 from jwakely/trailing-whitespace
Prevent amalgamate.py from adding trailing whitespace
2024-10-24 12:02:33 -04:00
Jonathan Wakely
a60ef3b2e1 Prevent amalgamate.py from adding trailing whitespace
When adding the license text, only add leading whitespace to non-empty
lines, otherwise it becomes trailing whitespace.
2024-10-24 10:47:17 +01:00
Daniel Lemire
9ab35254a8
fixing issue https://github.com/fastfloat/fast_float/issues/271 2024-10-16 14:21:02 -04:00
Daniel Lemire
4266c34620
[no-ci] Update README.md 2024-09-15 10:56:20 -04:00
Daniel Lemire
00c8c7b0d5 version 6.1.6 v6.1.6 2024-09-08 13:36:17 -04:00
Daniel Lemire
fe53e769e4
Merge pull request #270 from pranav-sivaraman/add-find-package
doctest: if SYSTEM_DOCTEST add a `find_package(doctest REQUIRED)`
2024-09-08 13:35:34 -04:00
Pranav Sivaraman
a7ed4e89c7 doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED) 2024-09-08 12:34:44 -04:00
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