Searched refs:log2n (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/classes/random/tests/ |
| H A D | ex3.c | 34 PetscInt log2d, log2n, t, N, Y; in main() local 44 log2n = 20; in main() 48 …onsInt("-log2n", "The log of n, the number of samples per process", "ex3.c", log2n, &log2n, NULL)); in main() 54 …log2n <= sizeof(size_t) * 8 - 1, PETSC_COMM_WORLD, PETSC_ERR_ARG_OUTOFRANGE, "The number of sample… in main() 55 n = (PetscInt)(((size_t)1) << log2n); in main() 58 lambda = PetscPowRealInt(2., 3 * log2n - (2 + log2d * t)); in main()
|