Commit Graph
1860 Commits
Author SHA1 Message Date
Mateusz Pusz 54dbeea68b style: AddMPUnitsModule reformatted with cmake-format 2024-02-16 17:02:56 +01:00
Mateusz Pusz 8b9ca0e342 Merge branch 'master' of github.com:mpusz/mp-units 2024-02-16 15:46:44 +01:00
Mateusz Pusz 0035015133 build: CMake header sets require at least 3.23 2024-02-15 22:22:35 +01:00
Mateusz Pusz c24a0c060d build: add_mp_units_module improved 2024-02-15 22:20:46 +01:00
Mateusz Pusz 19826eaf3d fix: compilation fixed on C++23 2024-02-14 07:07:21 +01:00
Mateusz Pusz 26a7b35e73 Merge pull request #550 from mpusz/typed_prefixes
feat: improve types readability by eliminating extraneous `()` for a value of a type for prefixes
2024-02-13 20:45:53 +01:00
Mateusz Pusz 202c1d10da refactor: get_kind() now returns kind_of 2024-02-13 20:23:03 +01:00
Mateusz Pusz f16ac802b3 fix: a value set for __cpp_explicit_this_parameter 2024-02-13 16:26:38 +01:00
Mateusz Pusz 963256acf1 refactor: make_reference used to return values from reference operations 2024-02-06 11:28:20 +01:00
Mateusz Pusz 1663aa082f fix: quantity_spec compilation fixed 2024-02-05 20:43:36 +01:00
Mateusz Pusz b4c08bb8fe feat: improve types readability by eliminating extraneous () for a value of a type for references
Resolves #533
2024-02-05 19:41:53 +01:00
Mateusz Pusz 96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz d4dde886cb build: explicit this enabled with a workaround for clang-18 2024-02-05 16:33:32 +01:00
Mateusz Pusz 05f481d3e9 fix: thermodynamics.h header fixed to be standalone 2024-01-26 16:42:32 +01:00
Mateusz Pusz 3382cb4b30 fix: compilation issues fixed 2024-01-26 16:04:59 +01:00
Mateusz Pusz e0f9048e4b refactor: si_quantities.h added to improve compile-times 2024-01-26 15:53:18 +01:00
Mateusz Pusz 7565cd09af build: change the default value of MP_UNITS_USE_FMTLIB to be undefined by default 2024-01-26 08:04:26 +01:00
Mateusz Pusz 9b98fcb118 build: use_fmtlib build option default set to False 2024-01-23 22:36:56 +01:00
Mateusz Pusz fcadaf5d70 fix: old-style aggregate initialization used for format_checker which should fix apple-clang build 2024-01-23 22:04:31 +01:00
Mateusz Pusz 24e5ca8ad9 build: std::format enabled on clang with a hack 2024-01-23 21:34:00 +01:00
Mateusz Pusz 5756a96709 docs: grammar format changed to BNF 2024-01-23 21:32:26 +01:00
Mateusz Pusz a5c35a0cf6 refactor: parse_fill_align_width extracted as a standalone function 2024-01-23 21:31:45 +01:00
Mateusz Pusz b982c0654d refactor: parse_subentity_replacement_field moved to format.h 2024-01-23 21:20:22 +01:00
Mateusz Pusz 8fb800670c refactor: 'o' replaced with '1' as a modifier for unit_symbol_solidus::one_denominator 2024-01-23 21:20:22 +01:00
Mateusz Pusz 7eb8614d4c docs: formatting grammar comments fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 4e88298ce3 feat: formatting error messages improved 2024-01-23 21:19:45 +01:00
Mateusz Pusz dbd3bd07f1 fix: unit formatting fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 0ce6fed70d fix: quantity alignment formatting fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 1e43758b54 feat: unit text output support added
Resolves #422
2024-01-23 21:19:45 +01:00
Mateusz Pusz 1817687ca2 feat: std::format support added
Resolves #503
2024-01-23 21:19:45 +01:00
Mateusz Pusz 030c53a404 fix: missing version header file added to hacks.h 2024-01-23 21:19:45 +01:00
Mateusz Pusz b7b5b58f73 feat: 💥 has_unit_symbol support removed 2024-01-23 21:19:45 +01:00
Mateusz Pusz f32d374fd5 feat: formatting grammar improved and units formatting support added 2024-01-23 21:16:47 +01:00
Mateusz Pusz a9b2865950 Merge branch 'master' of github.com:mpusz/mp-units 2024-01-23 21:15:55 +01:00
Nebojsa Cvetkovic 64c351906d feat: fmod floating-point division remainder 2024-01-22 10:48:15 +00:00
Nebojsa Cvetkovic 057d659c1f feat: atan2 2-argument arctangent 2024-01-20 19:37:00 +00:00
Nebojša CvetkovićandMateusz Pusz a62f061028 feat: ppm parts per million
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-01-20 14:37:36 +00:00
Mateusz Pusz 1df2cc7b58 feat: do not print space between a number and percent or per_mille 2024-01-19 21:20:33 +01:00
Mateusz Pusz 3a6249fc5e fix: explicit object parameter support fixed 2024-01-19 19:34:06 +01:00
Mateusz Pusz 840b0bd54e fix: performace regression in sudo_cast fixed 2024-01-19 16:04:55 +01:00
Mateusz Pusz fc7e1358cb feat: underlying_type type trait added 2024-01-19 16:03:21 +01:00
Mateusz Pusz d036af5647 fix: compilation errors after the last commit fixed 2024-01-19 11:09:29 +01:00
Mateusz Pusz b4f07f6e7c refactor: 💥 ReferenceOf does not take a dimension anymore
It seems unneeded and removing this check greatly simplifies common compilation errors.
2024-01-19 10:35:32 +01:00
Mateusz Pusz 81871bfd4c fix: fixed_string should not expose <iostream> 2024-01-18 19:00:06 +01:00
Mateusz Pusz 40dcc9de66 feat: basic_fixed_string contructor now can take a list of arguments 2024-01-18 18:59:10 +01:00
Mateusz Pusz 5183a5c830 fix: creation of std::string_view in basic_fixed_string::view() now is compatible with C++20 2024-01-18 18:41:29 +01:00
Mateusz Pusz 901e718deb feat: text output support added to basic_fixed_string 2024-01-18 18:07:07 +01:00
Mateusz Pusz 7296238223 refactor: 💥 fixed_string constructor taking a single character made explicit 2024-01-18 16:50:10 +01:00
Mateusz Pusz 12aebbb08b refactor: fixed_string::op[] now returns by value 2024-01-18 16:49:11 +01:00
Mateusz Pusz f2be389b57 feat: .view() member funciton added to fixed_string 2024-01-18 16:47:16 +01:00