Commit Graph

  • 99f4c92230 "docs" added to conan export_sources Mateusz Pusz 2020-03-09 19:48:02 +01:00
  • 1865b92e90 Workaround for a stupid compiler reporting potential null-pointer dereference Mateusz Pusz 2020-03-09 19:47:36 +01:00
  • 433cd8222f Missing Conan remotes added to build.py Mateusz Pusz 2020-03-09 19:07:41 +01:00
  • 5f73123f87 Contrained on a named unit added to a prefixed_unit Mateusz Pusz 2020-03-09 18:56:55 +01:00
  • e122d6baae avg_velocity renamed to avg_speed Mateusz Pusz 2020-03-09 18:56:00 +01:00
  • b65328d575 Sphinx-based documentation added Mateusz Pusz 2020-03-09 18:55:41 +01:00
  • af6358fbdb gcc-9 compilation fixed Mateusz Pusz 2020-03-05 11:40:05 +01:00
  • 5a72983c47 Removed an old TODO comment Mateusz Pusz 2020-03-01 14:50:01 +01:00
  • 4b33c0f7c5 Examples with an alternate way to create quantities refactored Mateusz Pusz 2020-03-01 14:44:45 +01:00
  • 0c5864cc87 Kalman filter slightly refactored + clang_format Mateusz Pusz 2020-03-01 14:40:54 +01:00
  • cd0eb11c14 standard_gravity constant added Mateusz Pusz 2020-03-01 13:11:15 +01:00
  • c079856d72 Conan stable package link updated in README Mateusz Pusz 2020-02-25 15:42:27 +01:00
  • 7b19559dfc Update Conan recipe v0.4.0 0.4 Uilian Ries 2019-11-20 16:33:50 -03:00
  • 736a8bd3c8 "clang-format off" removed for base_dimension_less Mateusz Pusz 2020-02-25 11:55:16 +01:00
  • 63463e7a35 Total energy example slightly refactored Mateusz Pusz 2020-02-24 20:46:21 +01:00
  • 0c02f94d29 Printing of uknown non-coherent units fixed Mateusz Pusz 2020-02-24 20:45:47 +01:00
  • 1f63fdb945 Printing of a space separator for unitless quantites disabled Mateusz Pusz 2020-02-24 20:01:57 +01:00
  • d53a5337f3 Total energy example extended with Natural Units Mateusz Pusz 2020-02-24 19:16:28 +01:00
  • c73ba84ad3 Natural Units support added Mateusz Pusz 2020-02-24 19:15:46 +01:00
  • e7756bf4eb Printing order of base units according to the recipe fixed Mateusz Pusz 2020-02-24 15:17:50 +01:00
  • 0eb2f404be clang-format applied to type_list Mateusz Pusz 2020-02-24 15:17:03 +01:00
  • c745bebffd type_list_join added Mateusz Pusz 2020-02-24 15:15:46 +01:00
  • b9e7ffc90c total_energy fixed for gcc-9 Mateusz Pusz 2020-02-24 14:12:38 +01:00
  • 64248c0752 Total energy example added Mateusz Pusz 2020-02-23 17:40:18 +01:00
  • a0a18f35ac Momentum support added Mateusz Pusz 2020-02-23 17:40:01 +01:00
  • fe998e1eab better sqrt_impl MUCH bigger range (although still not quitre max -- see comments) no recursion make this example possible: https://godbolt.org/z/tDFkfR Oliver Schönrock 2020-02-23 15:37:32 +00:00
  • d4492524d1 use assert. static can't work Oliver Schönrock 2020-02-23 15:36:07 +00:00
  • 065323c7d7 1d aircraft α-β filter ( kalman filter tutorial from https://www.kalmanfilter.net/alphabeta.html#ex2 ) converted to mpusz/units Andy Little 2020-02-22 11:56:18 +00:00
  • ef862c9f69 include what we use and use system header syntax don't show 10^0 when den != 0 Oliver Schönrock 2020-02-22 11:27:29 +00:00
  • 424f0512c1 hack fix?! Oliver Schönrock 2020-02-22 01:44:00 +00:00
  • 0c89df3980 unknown_unit renamed to unknown_coherent_unit Mateusz Pusz 2020-02-22 09:37:40 +01:00
  • d51a9eac28 Physical constants refactored Mateusz Pusz 2020-02-21 10:57:57 +01:00
  • 834d1fa09d extending the range of operator* for incoherent units with large num/den this improves the situation for #55 (doesn't solve it outright) motivating examples which now work are: 1q_mi * 1q_mi * 1q_mi 1q_au * 1q_au tests added and docs updated Oliver Schönrock 2020-02-20 22:15:05 +00:00
  • 9fdb5822f9 CTest module removed Mateusz Pusz 2020-02-20 22:24:22 +01:00
  • 21f3041bfb Runtime test execution added to Conan Mateusz Pusz 2020-02-20 21:16:33 +01:00
  • 600d2cb12c Release notes moved from README to CHANGELOG Mateusz Pusz 2020-02-15 07:04:13 +01:00
  • 395a98c055 WrappedUnit support added Mateusz Pusz 2020-02-14 21:58:50 +01:00
  • a34730cf8c Subfolders reordered in CMake to help diagnose lack of testing dependencies Mateusz Pusz 2020-02-13 23:18:11 +01:00
  • 39a2c2de0e employing more mathemtaically correct ratio_gcd calc (for common ratio) really finds the maximum common ration as opposed to previous algo which simplified on the exp part of the ratio by using std::min most of new code credit to Conor Williams discussion and additional doc here: https://github.com/mpusz/units/issues/62#issuecomment-588152833 test case was 1yd + 1in = 37in => added as a test commenting out unusued ratio_add and its tests if to be reintroduced, should also use the new gcd routines additonal change was required to check in safe_divisible concept den=1 is not sufficient anymore. reusing new gcd routines moved ratio nomalize and new gcd routines into new, separate bits/ratio_maths.h this resolves #62 Oliver Schönrock 2020-02-20 18:10:15 +00:00
  • 1280b7d4be fix fmt test typos for accidental find/replace mistakes during 1m => 1q_m changes Oliver Schönrock 2020-02-20 18:02:21 +00:00
  • 7efd815fe5 Release notes updated again Mateusz Pusz 2020-02-19 11:02:45 +01:00
  • 4d0afc2df9 Release notes updated Mateusz Pusz 2020-02-19 11:01:36 +01:00
  • 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