X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcalc.h;fp=src%2Fcalc.h;h=21ece7b4319aa984704a1aa02e0e1527dbff6c3e;hp=49114efc67b3a60f2997e8de36ff7485a24e5e3e;hb=c9384515a81cb64d345b299908b2852f51bb8e6e;hpb=b029005e56a8913fbb3d17ab497b4a37a00a211c diff --git a/src/calc.h b/src/calc.h index 49114ef..21ece7b 100644 --- a/src/calc.h +++ b/src/calc.h @@ -29,15 +29,16 @@ #include "token.h" #include "types/impl_val.h" -#define PRIfval "f" -#define PRIdval "lf" -#define PRIldval "Lf" +#define PRIfval ".13gF" +#define PRIdval ".53lg" +#define PRIldval ".64LgL" typedef token_t (*psi_calc)(token_t t1, impl_val *v1, token_t t2, impl_val *v2, impl_val *res); #include "calc/basic.h" #include "calc/bin.h" #include "calc/bool.h" +#include "calc/unary.h" #include "calc/cast.h" #include "calc/cmp.h" #include "calc/oper.h"