Commit Graph

  • c2675f5117 Added imperial to README main 0.1.1 adrien 2026-04-23 00:28:49 +02:00
  • f26f6086ca Added Imperial unit scales adrien 2026-04-23 00:14:57 +02:00
  • a91a509368 Added GNU License adrien 2026-04-23 00:00:32 +02:00
  • 5e7b7c5302 Added some constants adrien 2026-04-22 23:53:43 +02:00
  • 719679aabc Updated README + Renamed mulBy and divBy to mul div adrien 2026-04-22 23:33:58 +02:00
  • 2c94df7f4a Added overflaw security + made benchmark work (set to max) adrien 2026-04-22 23:11:42 +02:00
  • 5efa42c2e1 Made possible to use comptime float, int and T for Scalar operation of Vector adrien 2026-04-22 22:34:46 +02:00
  • 1129acc542 Same for Scalar adrien 2026-04-22 22:10:57 +02:00
  • 9544bb584a Removed s and d in Vector (duplicate of dims and scales) adrien 2026-04-22 22:10:04 +02:00
  • 6c50a01d6e Removed ugly Scalar_ adrien 2026-04-22 22:08:05 +02:00
  • e4d55e36ab Added the posibility to use comptime_float, int and T for Scalar operation adrien 2026-04-22 16:45:02 +02:00
  • 82bdb96746 Changed how Scalar is generated to use Dimensions.ArgOpts and Scales.ArgOpts adrien 2026-04-22 16:31:07 +02:00
  • a2d46e3f55 Added sqrt to Scalar and Vector adrien 2026-04-22 15:43:17 +02:00
  • 0dd9e02f59 Added abs, pow and product operations adrien 2026-04-22 14:50:21 +02:00
  • c4e462add3 Added dot and cross function for Vector adrien 2026-04-22 12:32:10 +02:00
  • 4c910319d5 Added comparison operation to Scalar and Vector adrien 2026-04-22 12:26:17 +02:00
  • 86841318f2 Added some doc comments adrien 2026-04-22 10:58:14 +02:00
  • ec05b60fc3 Replaced Scales.min to helper.finerScales adrien 2026-04-22 10:31:04 +02:00
  • 49b56bda91 Added int nanometer example in README 0.1.0 adrien 2026-04-22 01:20:09 +02:00
  • 76c69448de Fixed benchmark with removed scale adrien 2026-04-22 01:14:38 +02:00
  • cb3c41cf4c Better README adrien 2026-04-22 01:07:06 +02:00
  • 5f42a8c107 Added Dimless to Base adrien 2026-04-22 01:06:52 +02:00
  • 1719b0de8b Removed scale (just use mulBy + dimless) + added inline to vector fn adrien 2026-04-22 01:05:33 +02:00
  • 84d0698878 Removed ztracy dep adrien 2026-04-22 00:31:37 +02:00
  • 11a741f72c Removed useless code adrien 2026-04-22 00:19:07 +02:00
  • cc39c1a6f4 Same for all bench, nbo more sink adrien 2026-04-22 00:17:58 +02:00
  • d96a1ac4bc Replaced a sing with std.mem.doNotOptimizeAway adrien 2026-04-22 00:12:38 +02:00
  • fb922e3d5c Added tracy as dependencie adrien 2026-04-22 00:00:18 +02:00
  • 1fd86a5807 Moved benchmarks into a seperate file and exe adrien 2026-04-21 23:52:13 +02:00
  • a518a86fb2 Changed from using format to formatNumber in Scalar and Vector to use precision, fill, width, ect adrien 2026-04-21 22:21:19 +02:00
  • 8a22788a2e Renamed a test adrien 2026-04-21 19:41:02 +02:00
  • b9647e0426 Updated build.zig to expose a module adrien 2026-04-21 19:32:59 +02:00
  • cb51afe79c Update zig name adrien 2026-04-21 19:28:32 +02:00
  • 732bf11005 Update zig.zon adrien 2026-04-21 19:27:10 +02:00
  • 46380a95da Renamed Quantity to Scalar and QuantityVec to Vector adrien 2026-04-21 19:18:45 +02:00
  • aa46cef978 Deleted tmp file adrien 2026-04-21 18:36:31 +02:00
  • 01c5b50b95 Added cross type overhead benchmark adrien 2026-04-21 18:36:23 +02:00
  • bbab41008f Passed some Scales stuff to comptime adrien 2026-04-21 18:18:12 +02:00
  • aa09054c4d Added fast path to mulBy too adrien 2026-04-21 18:16:37 +02:00
  • b02665fe89 Prevent convertion if unecessary at comptime for Quantity operations adrien 2026-04-21 17:55:33 +02:00
  • a16bbedbd8 Changed Quantity fn to be inline adrien 2026-04-21 17:49:53 +02:00
  • 7b038dd2a5 Added some explicit comptime to Quantity adrien 2026-04-21 17:41:37 +02:00
  • 998404d82a Switched EVERYTHING in Scales and Dimensions to comptime adrien 2026-04-21 17:31:22 +02:00
  • 1f6b794ab6 Better benchmark print AdrienBouvais 2026-04-21 15:55:10 +02:00
  • a5cda3da62 Added a Quantity vs Native benchmark AdrienBouvais 2026-04-21 15:52:35 +02:00
  • 664e3aac8a Better README AdrienBouvais 2026-04-21 15:44:31 +02:00
  • db9d07ddd6 . AdrienBouvais 2026-04-21 15:42:26 +02:00
  • 574863b98b Added an int section in README AdrienBouvais 2026-04-21 15:32:23 +02:00
  • fd269e7407 Update README AdrienBouvais 2026-04-21 15:24:50 +02:00
  • 79bf70d503 Better README.zig AdrienBouvais 2026-04-21 15:14:50 +02:00
  • 8234591f6e . AdrienBouvais 2026-04-21 15:14:44 +02:00
  • 7e2652c4ba Renamed Base to Of in BaseQuantities AdrienBouvais 2026-04-21 15:05:22 +02:00
  • 52e58829eb Added test to BaseQuantity and a benchmark for Vectors AdrienBouvais 2026-04-21 14:19:22 +02:00
  • f2e18da797 Forgot to save this from previous commit AdrienBouvais 2026-04-21 13:33:27 +02:00
  • 8f589d3818 Created a BaseQuantity and movec Quantity and QuantityVec to seperat files AdrienBouvais 2026-04-21 13:18:53 +02:00
  • fd423f2bf6 Changed QuantityVec3 to QuantityVecX for vectors of any size AdrienBouvais 2026-04-21 13:08:37 +02:00
  • de210588ee Moved some fn AdrienBouvais 2026-04-21 11:44:48 +02:00
  • a484e2e7da Optimized length to be optimized for int AdrienBouvais 2026-04-21 11:43:29 +02:00
  • 38bf79e741 Removed old function usless after optimization AdrienBouvais 2026-04-21 11:26:39 +02:00
  • d9ab2f304a Optimized divBy to prevent type conversion AdrienBouvais 2026-04-21 11:23:55 +02:00
  • 19de4e1dd2 Optimized Quantity.to AdrienBouvais 2026-04-21 11:02:10 +02:00
  • 305d113752 Basic README adrien 2026-04-21 00:37:23 +02:00
  • b0e06bf4cf Added test runner and better table print in benchmark adrien 2026-04-21 00:07:12 +02:00
  • eb02b3eb96 Changed add ans sub to prevent losing info adrien 2026-04-20 23:56:26 +02:00
  • b3cee0588f First implementation adrien 2026-04-20 23:38:49 +02:00
  • fbadb6ce06 first commit adrien 2026-04-20 23:37:43 +02:00