Commit Graph

  • 81febba3f7 Compiler Explorer link updated Mateusz Pusz 2020-02-19 11:01:17 +01:00
  • f618529451 FAQ section added to README Mateusz Pusz 2020-02-17 17:23:12 +01:00
  • 18620044c5 All UDLs are now prefixed with q_ Mateusz Pusz 2020-02-17 15:56:06 +01:00
  • 0566cc631d implementing units::ratio_add and tests not yet used in src/include/units/bits/dim_consolidate.h because it breaks and cascades (due to new exponent we think) Oliver Schönrock 2020-02-16 02:35:49 +00:00
  • dfb9042e9d promo text oschonrock 2020-02-15 21:17:52 +00:00
  • 291d3d1eb7 dealing with exponent during sqrt fixes #58 Oliver Schönrock 2020-02-15 14:08:27 +00:00
  • fc62c04a46 Update INSTALL.md Mateusz Pusz 2020-02-15 12:09:35 +01:00
  • 0ca8894de4 Conan quick intro added Mateusz Pusz 2020-02-15 12:06:03 +01:00
  • 0c86d1da2b Syntax highlighting added for code block in INSTALL Mateusz Pusz 2020-02-15 09:06:14 +01:00
  • 081d96a756 Update INSTALL.md Mateusz Pusz 2020-02-15 08:48:54 +01:00
  • d832b3a462 basic_fixed_string op== improved Mateusz Pusz 2020-02-12 09:55:28 +01:00
  • 172fa74239 gigaelectronvolt added Mateusz Pusz 2020-02-12 09:50:07 +01:00
  • a8ada63031 units::exp disambiguated in unit tests Mateusz Pusz 2020-02-12 09:49:49 +01:00
  • 3be8ee921e Starship improvements after the latest gcc fixes Mateusz Pusz 2020-02-12 09:48:04 +01:00
  • c3cfd3acaa SI fundamental constants added Mateusz Pusz 2020-02-11 23:57:04 +01:00
  • f8b1c8d8a2 Initial constants support added Mateusz Pusz 2020-02-11 23:55:02 +01:00
  • 4ec015d26e SI prefix enabled for eV Mateusz Pusz 2020-02-11 20:58:18 +01:00
  • 2360392a3d Tests for #58 added (uncomment when fixed) Mateusz Pusz 2020-02-11 08:51:34 +01:00
  • 037503cbc6 deduced_unit fixed + unit test for mass unit added Mateusz Pusz 2020-02-10 20:35:32 +01:00
  • 1f46ca5f0c Conan scm temporarily disabled Mateusz Pusz 2020-02-10 19:07:13 +01:00
  • 3cc686e730 Conan test_package fixed Mateusz Pusz 2020-02-10 18:43:27 +01:00
  • 78350ed94b same_as remplaced with is_same_v in if constexpr Mateusz Pusz 2020-02-08 20:11:20 +01:00
  • 0d319675f8 prefix definition simplified Mateusz Pusz 2020-02-08 19:49:36 +01:00
  • 518c52cda1 Base unit for SI mass fixed Mateusz Pusz 2020-02-02 15:37:51 +01:00
  • 3dc34d2d2e Linear Algebra dependency removed Mateusz Pusz 2020-02-02 15:25:00 +01:00
  • d3553d2d29 CMake common tools updated Mateusz Pusz 2020-02-01 21:57:36 +01:00
  • 0354c56ac2 clang-format applied to a downcasting header Mateusz Pusz 2020-01-31 17:03:35 +01:00
  • 9cdc3e1ad2 DESIGN doc updated Mateusz Pusz 2020-01-31 17:02:52 +01:00
  • 645570ff57 Library updated to the latest cmake common tools Mateusz Pusz 2020-01-31 17:02:27 +01:00
  • f2163aa098 Conan package id fixed to header_only Mateusz Pusz 2020-01-28 08:38:23 +01:00
  • b27a422076 Preeliminary clang support added Mateusz Pusz 2019-12-17 21:10:35 +01:00
  • 876c2ac426 thou used as a primary unit in a fmt unit test Mateusz Pusz 2020-01-14 12:59:37 +01:00
  • 3a76c1de91 gcc10 compilation error fixed in conversion example Mateusz Pusz 2020-01-14 12:55:07 +01:00
  • 15e656aba6 clang-format on new examples Mateusz Pusz 2020-01-14 12:50:30 +01:00
  • 1c4624303e Whitespace cleanup Mateusz Pusz 2020-01-14 12:23:32 +01:00
  • 1c857868bb Some length unit fixed + whitespace cleanup Mateusz Pusz 2020-01-14 12:23:06 +01:00
  • 8675542f98 README updated to reflect the latest units changes Mateusz Pusz 2020-01-13 11:15:26 +01:00
  • 024f5a9c83 change const order move in,ft,fathom,ft2,ft3,mph from us to international namespace TODO distinguish units with different names for same values Andy Little 2020-01-12 00:27:03 +00:00
  • c93136e81b physical/si/density : change UDL from kg_per_m3 to kgpm3 (and then fix example/box_example) Andy Little 2020-01-10 16:21:49 +00:00
  • 6ba2362af9 example , clcpp_response : clean up comments Andy Little 2020-01-10 04:50:10 +00:00
  • 3b0e445b4c Remove sandbox.cpp from repo Examples/clcpp_response.cpp : removed debug #defines Andy Little 2020-01-10 04:36:20 +00:00
  • 283e9d81a3 Split the various non-si length units into their own namespaces. new namespaces are international ( combination of us and imperial + Canada etc) iau (https://www.iau.org/ imperial ( old imperial units) typographical ( for sizes of printing fonts etc) Andy Little 2020-01-10 02:03:27 +00:00
  • 868842bd46 Third party examples : add box example Add si::density quantity header . Add si::resistance quantity header. Update si::capacitance header with mF, uF, nF, pF. Update si::voltage header with mV, uV, nV,pV Third party example : add capacitor time curve example Add incoherent length units, TODO move them out from si header. Third party examples : add clcpp_response showing effectivenes of typed units for physical quantity library Third party examples : add conversion factor example Add third party examples to cmake Andy Little 2020-01-06 21:29:05 +00:00
  • a01c811f5f Square and cubic UDLs renamed Mateusz Pusz 2020-01-09 10:03:41 +01:00
  • 159e2c1c02 ratio_text improved to omit den == 1 for exp != 0 Mateusz Pusz 2019-12-29 17:19:55 +01:00
  • e7f37e4e33 CGS fmt tests added Mateusz Pusz 2019-12-29 17:06:03 +01:00
  • 09e118380c Electronvolt and dalton support added Mateusz Pusz 2019-12-28 19:22:27 +01:00
  • 69dcfd2e6d Bitrate UDLs fixed Mateusz Pusz 2019-12-28 19:00:19 +01:00
  • 17e6b0d75d Small refactoring of new ratio (resolves #14) Mateusz Pusz 2019-12-28 18:59:53 +01:00
  • 23d44c1b4a implementing our own (very limited) std::pow functions integer and float treated separately perhaps not ideal, but not obvioius what would be clearly better Oliver Schönrock 2019-12-28 13:12:39 +00:00
  • 0ad78fe753 small changes based on code review Oliver Schönrock 2019-12-28 10:37:18 +00:00
  • 509b6c9653 implementing ratio<num,den,exp> which replaces ratio<num,den> https://github.com/mpusz/units/issues/14 Oliver Schönrock 2019-12-27 18:49:43 +00:00
  • eef6371ab4 Missing fixed_string comparison operators added Mateusz Pusz 2019-12-26 14:03:55 +01:00
  • bf5762dbbb Initial support for printing multiple negative exponents added Mateusz Pusz 2019-12-26 12:07:08 +01:00
  • 83516346e7 tonne definition fixed Mateusz Pusz 2019-12-26 12:06:12 +01:00
  • 594f92241a tonne added Mateusz Pusz 2019-12-26 10:23:42 +01:00
  • 2a7f2efa15 hectometre and hectare added Mateusz Pusz 2019-12-26 10:20:30 +01:00
  • 70fbf300b4 astronomical unit added Mateusz Pusz 2019-12-26 10:11:12 +01:00
  • 15e148381d decimetre and litre added Mateusz Pusz 2019-12-26 10:07:02 +01:00
  • 22fabb5a1b day unit added Mateusz Pusz 2019-12-26 09:59:05 +01:00
  • 81b1ba3162 fixed_string_test added Mateusz Pusz 2019-12-26 09:49:39 +01:00
  • 4b43ade1c4 Compiler Explorer link updated in README Mateusz Pusz 2019-12-23 13:25:49 +01:00
  • 69974f82cd Floating-point UDLs removed from fmt_test Mateusz Pusz 2019-12-23 13:23:23 +01:00
  • 758c05ea15 quantity_cast fmt tests added Mateusz Pusz 2019-12-23 13:22:37 +01:00
  • 7cad312b55 fixed_string refactored Mateusz Pusz 2019-12-23 13:21:48 +01:00
  • e622ecb35a Warning and other compilation flags cleanup Mateusz Pusz 2019-12-23 13:19:34 +01:00
  • 2ab233610f physical::DimensionOf concept updated Mateusz Pusz 2019-12-17 22:26:34 +01:00
  • 2abe429ba7 dimensions_concepts_test added Mateusz Pusz 2019-12-17 22:26:01 +01:00
  • bc8c31caa5 is_derived_from_instantiation fixed Mateusz Pusz 2019-12-17 22:18:52 +01:00
  • 589e26fa81 no_prefix set for prefixed_unit Mateusz Pusz 2019-12-17 20:16:05 +01:00
  • 3decaecb52 TODO comments clean-up Mateusz Pusz 2019-12-17 20:15:38 +01:00
  • 80a13b1a94 US system isolated from SI Mateusz Pusz 2019-12-17 12:29:19 +01:00
  • b3ea3cdc91 hello_units compilation on gcc-9 fixed Mateusz Pusz 2019-12-17 10:51:59 +01:00
  • 75081bf566 hello_units example added Mateusz Pusz 2019-12-17 10:48:54 +01:00
  • 608adf92ae README example fixed Mateusz Pusz 2019-12-17 10:12:17 +01:00
  • cdb6a4822e Installation documentation updated Mateusz Pusz 2019-12-17 09:27:32 +01:00
  • 826942947e Merge branch 'new_design' Mateusz Pusz 2019-12-17 09:21:11 +01:00
  • 27f6f806db .clang-format updated Mateusz Pusz 2019-12-17 09:16:04 +01:00
  • a384fbd75a README updated Mateusz Pusz 2019-12-17 09:15:31 +01:00
  • 7617e3c374 Installation documentation now used 0.5.0 Mateusz Pusz 2019-12-17 09:14:31 +01:00
  • 0bd7951175 Design documentation updated Mateusz Pusz 2019-12-17 09:14:05 +01:00
  • 1b2d27a64c measurement example updated with a starship operator Mateusz Pusz 2019-12-17 09:12:11 +01:00
  • d5f7de8ecb unknown_dimension definition changed to contain at least one exponent Mateusz Pusz 2019-12-17 08:36:31 +01:00
  • 00d863508d base_dimension refactored Mateusz Pusz 2019-12-16 15:58:41 +01:00
  • 6596c15238 scaled_unit template parameters order fixed (sorry Oliver) Mateusz Pusz 2019-12-14 21:16:15 +01:00
  • 5ef0bb9a9f base_dimension more constrained and comparison fixed Mateusz Pusz 2019-12-14 21:12:17 +01:00
  • 8d1eb4c415 derived_dimension code split to a few smaller files Mateusz Pusz 2019-12-14 12:23:47 +01:00
  • b1b63e1b3a 2 parital specializations of a derived_dimension split to different types Mateusz Pusz 2019-12-14 11:44:56 +01:00
  • 67262e10ef DESIGN.md : I believe that zero "exponents are elided" rule is a concept of exponent not base-dimension, so have modified parts where exponent rather than base dimension should apply Andy Little 2019-12-13 14:10:09 +00:00
  • 156ab7ae7f Unknown dimension assert added to quantity_test Mateusz Pusz 2019-12-12 15:39:04 +01:00
  • e10f5baab6 Quantity cast for dimension now uses dimension's coherent unit Mateusz Pusz 2019-12-12 15:38:21 +01:00
  • 6765054e5d More CGS tests added Mateusz Pusz 2019-12-12 15:37:52 +01:00
  • fbf3ef8c4f Most of concepts moved to a new file + quantity.h split to smaller pieces Mateusz Pusz 2019-12-12 13:17:31 +01:00
  • 9d50ea6ab5 CGS case added to avg_speed example Mateusz Pusz 2019-12-11 21:38:44 +01:00
  • 73033e347a exbi data prefix added (resolves #37) Mateusz Pusz 2019-12-11 17:41:18 +01:00
  • 283b725eb7 PNG files explicitly marked as binary (resolves #39) Mateusz Pusz 2019-12-11 17:30:47 +01:00
  • 12b67923bc CGS tests added Mateusz Pusz 2019-12-11 16:20:08 +01:00
  • 71f38222ea Implicit conversions fixed Mateusz Pusz 2019-12-11 16:16:05 +01:00
  • a10660d065 More SI tests added Mateusz Pusz 2019-12-11 13:55:58 +01:00
  • 5a7324596d Resulting unit ratio fixed in arithmetic operations Mateusz Pusz 2019-12-11 13:31:40 +01:00