Ben Clayton a75205265e Add src/utils/math.h
Move the RoundUp() and IsPowerOfTwo() methods from Resolver.cc to this file.

Add tests

Change-Id: Ib7af53dfa5e69083ec4fc2484da92a84c9468818
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44682
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2021-03-15 13:37:41 +00:00
..
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 13:37:41 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 13:37:41 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-01-21 15:30:10 +00:00
2021-03-15 10:43:11 +00:00
2021-03-09 21:51:50 +00:00
2021-03-15 13:37:41 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-02-18 21:40:19 +00:00
2021-03-09 21:51:50 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00