Displaying 5 results from an estimated 5 matches for "int_least64_t".
2019 Mar 01
1
issue with sample in R 3.6.0.
...(123)
max(sample(2^38, 1e5))
[1] 64
set.seed(123)
max(sample(2^42, 1e5))
[1] 1024
>From the above, we see that if N is greater than 2^31, then N is
bounded by (2^(ceiling(log2(N)) ? 32)).
Looking at the source code to src/main/RNG.c, we have the following:
static double rbits(int bits)
{
int_least64_t v = 0;
for (int n = 0; n <= bits; n += 16) {
int v1 = (int) floor(unif_rand() * 65536);
v = 65536 * v + v1;
}
// mask out the bits in the result that are not needed
return (double) (v & ((1L << bits) - 1));
}
The last line has (v & (...
2014 May 08
2
compile error about 6.0.2
...or: #error "Unable to build for to-be-defined architecture type"
In file included from /mlsyslinux/com32/include/inttypes.h:9,
from /mlsyslinux/com32/libupload/cpio.c:9:
/mlsyslinux/com32/include/stdint.h:13: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int_least64_t?
/mlsyslinux/com32/include/stdint.h:18: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?uint_least64_t?
/mlsyslinux/com32/include/stdint.h:21: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int_fast64_t?
/mlsyslinux/com32/include/stdint.h:24: error: expected ?=?, ?,...
2014 May 08
0
compile error about 6.0.2
...t;Unable to
build for to-be-defined architecture type"
> In file included from /mlsyslinux/com32/include/inttypes.h:9,
> from /mlsyslinux/com32/libupload/cpio.c:9:
> /mlsyslinux/com32/include/stdint.h:13: error: expected ?=?, ?,?, ?;?,
?asm? or ?__attribute__? before ?int_least64_t?
> /mlsyslinux/com32/include/stdint.h:18: error: expected ?=?, ?,?, ?;?,
?asm? or ?__attribute__? before ?uint_least64_t?
> /mlsyslinux/com32/include/stdint.h:21: error: expected ?=?, ?,?, ?;?,
?asm? or ?__attribute__? before ?int_fast64_t?
> /mlsyslinux/com32/include/stdint.h:24: error: e...
2004 Sep 10
2
1.0 candidate checked in
> OK, attempting one more convergence on all this, here's
> what I did:
>
> 1. Reverted back to rev 1.5 of src/libFLAC/ia32/Makefile.am
> 2. Applied Matt's last cleanup patch of 8 files. I did not
> apply the patch to src/test_unit/main.c since it looks wrong.
> main.c is supposed to include the local bitbuffer.h, not
> src/libFLAC/private/bitbuffer.h; I think the
2014 May 12
2
compile error about 6.0.2
...t;Unable to build for to-be-defined architecture type"
> In file included from /mlsyslinux/com32/include/inttypes.h:9,
> from /mlsyslinux/com32/libupload/cpio.c:9:
> /mlsyslinux/com32/include/stdint.h:13: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int_least64_t?
> /mlsyslinux/com32/include/stdint.h:18: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?uint_least64_t?
> /mlsyslinux/com32/include/stdint.h:21: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int_fast64_t?
> /mlsyslinux/com32/include/stdint.h:24: error: e...