author | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2010-09-05 16:34:50 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-09-06 21:26:41 UTC |
parent | d6b47604942996cff3fea8a92567aef6de222385 |
aritmetica.cpp | +1 | -1 |
diff --git a/aritmetica.cpp b/aritmetica.cpp index ab0661f..d90ea1f 100644 --- a/aritmetica.cpp +++ b/aritmetica.cpp @@ -28,7 +28,7 @@ double trunc(int prec, double n) * a la precision pedida, aplicando una máscara. */ /* Armamos la máscara */ - uint64_t mask = 0xFFFFffffFFFFffff; + uint64_t mask = 0xFFFFffffFFFFffffLLU; mask = mask << (52 - prec); uint64_t t = to_u64(n) & mask;