Add template based elems implementation
This commit is contained in:
parent
8801023626
commit
f924c990df
@ -1,12 +1,12 @@
|
|||||||
#include "../float.hpp"
|
#include "../float.hpp"
|
||||||
|
|
||||||
#include "../debug.hpp"
|
#include "../debug.hpp"
|
||||||
|
#include "../types.hpp"
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#define elems(x) (sizeof(x) / sizeof(0[x]))
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
test_double (void) {
|
test_double (void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user