Révision 27
| Pi/C/Pthreads/Pi_Pthreads.c (revision 27) | ||
|---|---|---|
| 112 | 112 |
float pi; |
| 113 | 113 |
|
| 114 | 114 |
if (argc > 1) {
|
| 115 |
iterations=(LENGTH)atol(argv[1]); |
|
| 115 |
iterations=(LENGTH)atoll(argv[1]);
|
|
| 116 | 116 |
num_threads=atoi(argv[2]); |
| 117 | 117 |
} |
| 118 | 118 |
else {
|
Formats disponibles : Unified diff