Commit Graph

1374 Commits

Author SHA1 Message Date
1ec9582240 alloc: add initial allocator stubs 2015-11-13 17:18:10 +11:00
584b57b669 m/b/circular: check ftruncate return value 2015-11-13 17:18:10 +11:00
8b16317b0e float: style 2015-11-13 17:18:10 +11:00
f2bd6501e2 maths: remove const/pure attributes
const/pure attributes are causing inconsitencies for various functions.
it's safer to just not use them until there's a more thorough
investigation of their impact.
2015-11-13 17:18:10 +11:00
89fe57b65b maths: move more operations into util:: 2015-11-13 17:18:10 +11:00
7b083df977 maths: tighten up type requirements for almost_equal
almost_equal only operates on two reals, or two integers (and even then
only on the same signedness).
2015-11-13 17:18:10 +11:00
c76e0716c4 maths: annotate with gnu::const where appropriate 2015-11-13 13:50:58 +11:00
02a42f282e maths: use SFINAE for round_to instead of assert 2015-11-13 13:48:46 +11:00
cd58dc8cc3 maths: rename align as round_to
reduces confusion between pointer align, and number rounding
2015-11-13 13:48:46 +11:00
11256c2645 raii: scoped_function takes a nullary void functor 2015-11-13 13:48:46 +11:00
3531b09794 platform: add platform suffix definitions 2015-11-13 13:48:46 +11:00
6561e46018 memory: remove legacy scoped_malloc 2015-11-13 13:48:46 +11:00
32ca27abdf memory: add paged and circular buffers 2015-11-11 16:56:35 +11:00
597fda0dfa memory: add pagesize query 2015-11-11 16:56:00 +11:00
e5dd121ece types: add std::data analogue 2015-11-05 13:17:59 +11:00
a73fb9307c matrix: extract size dependant operations 2015-11-04 23:23:46 +11:00
2ca4a7e291 coord/ops: enable iff types are coords 2015-11-04 23:22:49 +11:00
23fff4a65a coord/ops: expand dot product to accept arrays 2015-11-04 17:10:16 +11:00
176b33604b matrix: parameterise on dimension 2015-10-30 23:40:13 +11:00
fe7e3e9c6f test/maths: remove debug print statement 2015-10-29 18:23:07 +11:00
ac86ef3bd5 maths: fix hi-lo normalisation shift size 2015-10-29 18:22:46 +11:00
0369b16f73 maths: correct limit's assertion operator 2015-10-29 18:22:28 +11:00
c33fd2601c backtrace: add addr2line fields in output 2015-10-29 17:52:48 +11:00
620c2d3eb1 io: add FILE slurp overload 2015-10-29 17:52:19 +11:00
4aeacc3a27 maths: make limit constexpr friendly 2015-10-29 10:51:43 +11:00
556ba956a3 image: instantiate 64 bit types 2015-10-29 10:51:42 +11:00
975fe0be5b image: fix is_packed query 2015-10-29 10:51:42 +11:00
480bcdc555 image: fix buffer stride initialisation 2015-10-29 10:51:42 +11:00
cb12d4fd1f io: remove redundant write overloads 2015-10-29 10:51:42 +11:00
73720feceb io: remove access_flag abstraction 2015-10-29 10:48:11 +11:00
1de33ce53c debug: use new namespace 2015-10-29 10:45:42 +11:00
2702c53df4 debug: make panic and friends constexpr 2015-10-29 10:43:41 +11:00
ba9a8f8b35 io: add more write wrappers 2015-10-20 21:04:14 +11:00
003685ce2b image: templatise on component count 2015-10-20 16:54:15 +11:00
03efa074ab maths: make limit constexpr 2015-10-20 16:54:15 +11:00
c2770a266b maths: split normalise functions 2015-10-20 16:54:15 +11:00
3991848726 coord: add vector relational operators 2015-10-20 12:37:08 +11:00
b5929b7b4a image: remove access to w/h/s members 2015-10-19 17:43:48 +11:00
fdb12e57f6 log: call format::operator% directly
one of the arguments may have overloaded operator% which may cause weird
compile-time errors
2015-10-19 17:41:56 +11:00
d847071f76 extent: add convenience size typedefs 2015-10-19 17:09:00 +11:00
b45255900c netpbm: avoid image w/h/s variables 2015-10-19 17:08:35 +11:00
4cd6dcc85c region: use size_type for scaling param 2015-10-19 17:08:08 +11:00
f9bb2be93c noise/midpoint: use explicit image extent query 2015-10-19 17:07:53 +11:00
36b4043faf maths: add identity function 2015-10-19 17:06:52 +11:00
60f16cdc4a WIP coord: clean up operation templates 2015-10-19 17:06:19 +11:00
b824691541 coord: add front/back methods 2015-10-19 16:23:49 +11:00
97a4e3af1a image: remove broken downsample code 2015-10-19 14:37:48 +11:00
77a94e227a adapter: wrappers for iterators and containers 2015-10-19 12:06:23 +11:00
634f2af9cc coord/ops: don't use multiplication for negation 2015-10-19 12:06:03 +11:00
5ed95ec952 coord/ops: use common_type for results 2015-10-19 12:06:03 +11:00