Commit Graph

324 Commits

Author SHA1 Message Date
Caleb Zulawski
5805c7a051 Fix comment 2020-10-11 14:34:57 -04:00
Caleb Zulawski
3d8721b053 Fix casts, add tests 2020-10-11 14:32:46 -04:00
Caleb Zulawski
75fdacde1c Add rounding to integers 2020-10-11 13:22:26 -04:00
Caleb Zulawski
ffedbe5b15 Add rounding functions 2020-10-10 00:22:36 -04:00
Thom Chiovoloni
ffd562f218 Add comment about fneg to the bitxor in float neg 2020-10-07 13:24:21 -07:00
Thom Chiovoloni
873639d6fd Use bitxor to implement Neg for floats 2020-10-07 11:51:54 -07:00
Thom Chiovoloni
8d3d616b13 Apply review feedback 2020-10-06 13:40:39 -07:00
Thom Chiovoloni
866971adf5 Implement abs, to_bits, and from_bits for float vectors 2020-10-06 11:33:29 -07:00
Caleb Zulawski
43dabd1aea
Implement core::ops (#10)
* Add vector-vector arithmetic ops
* Add operators and integer conversions for masks
* Add unary traits
* Implement Index and IndexMut
* Implement by-ref ops for masks
* Document intrinsics
* Implement format traits for masks
* Add floating point ops tests
* Add integer tests
* Add mask tests
2020-10-01 19:50:15 -07:00
Caleb Zulawski
cfda50a82a Remove vectors under 64-bit width 2020-09-26 19:31:14 -04:00
Caleb Zulawski
88bfbb001e Mark trait methods inline 2020-09-26 14:41:01 -04:00
Caleb Zulawski
b9bf9ef3c2 Remove remaining derived traits 2020-09-26 14:30:00 -04:00
Caleb Zulawski
d817b56f1d Manually implement some traits, instead of derive 2020-09-26 14:12:30 -04:00
Caleb Zulawski
167c3c8100 Change doc attributes to comments 2020-09-25 23:23:02 -04:00
Caleb Zulawski
992768709f Remove pointer vectors 2020-09-25 21:45:09 -04:00
Caleb Zulawski
2178409df5 Remove some obsolete macros 2020-09-25 00:52:32 -04:00
Caleb Zulawski
b7d1f3e797 Improve Debug implementation, add additional formatting traits 2020-09-25 00:44:48 -04:00
Caleb Zulawski
613f242088 Add pointer vectors and implement a few more traits 2020-09-24 21:15:31 -04:00
Caleb Zulawski
3df72fddc2 Add masks 2020-09-24 19:48:18 -04:00
Caleb Zulawski
872e8f62d6 Simplify transmutes 2020-09-23 10:42:12 -04:00
Caleb Zulawski
543bcd37e9 Combine vector definition modules by scalar type 2020-09-23 10:21:19 -04:00
Caleb Zulawski
c74eec7e25
Apply suggestions from code review
Co-authored-by: Lokathor <zefria@gmail.com>
2020-09-23 08:11:43 -04:00
Caleb Zulawski
0f837a9147 Add docs 2020-09-22 20:26:25 -04:00
Caleb Zulawski
011aafea16 Add initial type implementations 2020-09-22 19:41:42 -04:00