Mateusz Pusz
9a374a5646
refactor: isq::time swapped with isq::duration
2026-01-09 09:22:37 +01:00
Mateusz Pusz
6d10a154fa
feat: 💥 pi and π is now a unit constant (pi magnitude constant renamed to pi_c)
2025-12-28 13:35:54 +01:00
Roth Michaels
507b2dbd0d
fix: enable runtime usage of inverse function by using compile-time unit extraction
...
Replace runtime unit access (q.unit) with compile-time type extraction
(get_unit(R)) in the inverse function implementation. This prevents the
function from becoming an immediate function when consteval unit operators
are used, allowing inverse to work with runtime variables.
Key changes:
- math.h: Use get_unit(R) instead of q.unit in both code paths
- test: Add comprehensive runtime inverse tests
This surgical fix preserves maximum compile-time optimization while
enabling DSP applications that need runtime inverse calculations.
Fixes compilation error with Clang:
"call to immediate function 'inverse' is not a constant expression"
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-11 09:07:08 +00:00
Mateusz Pusz
2a2a53d5e8
build: projectPrefix CMake variable removed
2025-11-02 15:08:20 -08:00
Mateusz Pusz
37dfa39dba
build: wg21-linear_algebra dependency removed
2025-07-11 16:59:13 +02:00
Mateusz Pusz
35798a0f39
refactor: ostream.h header file made deprecated
2025-06-20 10:40:10 +02:00
Mateusz Pusz
50c05bddb3
refactor: format.h header file made deprecated
2025-06-20 09:06:49 +02:00
Mateusz Pusz
5a0e350be7
feat: lerp and midpoint for points added
2025-02-13 14:26:51 +01:00
Mateusz Pusz
47a82f466c
refactor: scalar and complex renamed to real_scalar and complex_scalar respectively + concepts refactoring + electromagnetism fixes
2025-02-11 17:26:19 +01:00
Mateusz Pusz
88439828a5
feat: std::numeric_limits support added
...
Resolves #408
2025-02-05 18:04:43 +01:00
Mateusz Pusz
0b14d69539
feat: quantity::one() removed
...
Related to #408
2025-02-05 12:08:32 +01:00
Mateusz Pusz
465f88d500
refactor: 💥 is_XXX customization points for representation types removed
2024-11-26 14:48:08 +01:00
Mateusz Pusz
0c09008671
fix: clang is too stupid to provide a deprecation warning for text_encoding
2024-11-21 11:25:57 +01:00
Mateusz Pusz
2cf64f20c5
fix: cartesian_vector convertibility tests fixed
2024-11-14 20:40:08 +01:00
Mateusz Pusz
a7cf015a3e
feat: add compound assignment operators to cartesian_vector
2024-11-14 20:38:50 +01:00
Mateusz Pusz
4b5d37e83e
feat: constructors of cartesian_vector refactored
2024-11-14 20:30:12 +01:00
Mateusz Pusz
420ffef6c5
fix(test): missing header files added
2024-11-12 18:12:36 +01:00
Mateusz Pusz
73ad1f08d4
fix: fmt_test fixed to use delta to create a quantity of thermodynamic_temperature
2024-11-12 16:20:51 +01:00
Mateusz Pusz
5a206c3ef1
test: cartesian_vector used in fmt_test
2024-11-12 14:38:51 +01:00
Mateusz Pusz
6c3c1fe5f7
feat: cartesian_vector added
2024-11-12 14:34:18 +01:00
Mateusz Pusz
d8574022f1
test: _surface tension_ replaced with _entropy_ in an fmt test
2024-11-12 14:21:36 +01:00
Mateusz Pusz
c6344c26ee
style: missing empty line at the end of the file added
2024-11-12 11:31:26 +01:00
Mateusz Pusz
78204c7e5f
test: runtime unit tests refactored to have a bigger granularity (less top level tests)
2024-11-12 11:27:52 +01:00
Mateusz Pusz
6896d8e086
fix: velocity is now defined in terms of displacement instead of position_vector
2024-11-06 18:46:01 +01:00
Mateusz Pusz
af18a6ba51
refactor: 💥 𝜋 replaced with π
2024-10-24 07:22:45 +02:00
Mateusz Pusz
6591a65d06
feat: 𝜋 added as an alias for pi
2024-10-14 22:49:58 +02:00
Mateusz Pusz
527c6dae63
test: fmt unit tests updated to the latest version
2024-10-10 09:00:31 +02:00
Mateusz Pusz
4eb63227e2
refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P'
2024-10-10 00:02:08 +02:00
Mateusz Pusz
51dc1d7469
fix: according to ISO 80000-16 % should always be prefixed with space
2024-10-03 11:54:40 +02:00
Mateusz Pusz
3671f64153
refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi>
2024-09-23 13:42:39 +02:00
Yves Delley
3e502fb795
increase tolerance for certain math tests to two epsilon
2024-09-16 20:34:12 +02:00
Mateusz Pusz
3d39472f46
test: unit tests for creating a quantity from a volatile variable
2024-09-06 18:07:33 +02:00
Mateusz Pusz
45013f6752
fix: inline restored for non-template constexpr global variables
2024-09-05 10:06:43 +02:00
Mateusz Pusz
2e840cfdb4
refactor: Repetitive inline constexpr removed as no longer needed
...
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Chip Hogg
f088d544b3
Fix known errors
2024-07-29 20:43:06 -04:00
Chip Hogg
3a6fac9858
Move tests to runtime
2024-07-24 20:04:15 -04:00
Mateusz Pusz
b870b85c25
feat: import std; support added
...
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz
73f7901329
build: duplicated cmake_minimum_required commands removed
...
Resolves #592
2024-07-14 18:04:05 +02:00
Mateusz Pusz
f66222fb87
fix: _angular impulse_ unit symbol formatting unit test fixed
2024-07-12 19:48:01 +02:00
Mateusz Pusz
0fbe0bb5e0
style: clang-format
2024-06-10 22:13:37 +02:00
Mateusz Pusz
e90cffcbda
refactor: text formatting library header files are no longer included in compat_macros.h
2024-06-10 22:04:41 +02:00
Mateusz Pusz
c69bd140b2
refactor: all units made final
2024-06-06 13:18:45 +02:00
Yves Delley
b6df881134
added more testing of conversion accuracy when using integral types
2024-06-02 11:09:46 +02:00
Mateusz Pusz
2a5d5c4ebf
fix: missing sstream header added to fixed_string_test
2024-05-16 13:06:34 +02:00
Mateusz Pusz
a479246ea7
feat: basic_fixed_string implementation and testing improved
2024-05-16 12:30:45 +02:00
Mateusz Pusz
5bac7d341d
style: clang-format applied to distibution_test.cpp
2024-05-08 12:16:02 +02:00
Mateusz Pusz
75f719add7
refactor: code refactored to comply with clang-tidy
2024-05-08 11:12:38 +02:00
Mateusz Pusz
f770057052
refactor: IWYU updates
2024-04-25 19:33:03 +02:00
Mateusz Pusz
8ea346be1c
refactor: 💥 header files with the entire system definitions moved up in the directory tree
2024-04-25 16:34:11 +02:00
Mateusz Pusz
c066104af7
refactor: 💥 framework.h introduced + IWYU
2024-04-24 21:09:29 +02:00