diff options
author | kdx <kikoodx@paranoici.org> | 2024-04-10 14:18:10 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2024-04-10 14:18:10 +0200 |
commit | d07415534fc917d904f17f6e06fc35d2d6c98b4b (patch) | |
tree | 2f3e17606538848d298e557f8a63ad3c063e29c9 | |
parent | e033104af07257143cc11287434961802fe46618 (diff) | |
download | cminus-d07415534fc917d904f17f6e06fc35d2d6c98b4b.tar.gz |
golden ratio
-rw-r--r-- | _.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ void *_realloc(void *ptr, size_t size); const auto __s_ = (S); \ (__x_ > __y_) ? max(__x_ - __s_, __y_) : min(__x_ + __s_, __y_); \ }) +#define GOLDEN_RATIO 1.618033988749 #define STR(X) #X #define defer(X) if (atexit(X)) { X(); panic("defer"); } |