mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
remove cstdlib
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
#include "utils/Decompressor.h"
|
||||
#include "utils/TorchUtils.h"
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#define FORMAT_INT(x, w) std::dec << std::setfill(' ') << std::setw(w) << x
|
||||
#define FORMAT_FLOAT(x, w, p) std::dec << std::setfill(' ') << std::fixed << std::setprecision(p) << std::setw(w) << x
|
||||
#define GET_MAG(num) ((uint32_t)((abs(int(num)) > 1) ? std::log10(abs(int(num))) + 1 : 1))
|
||||
|
||||
Reference in New Issue
Block a user