Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2307 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | e = e + 1 / d; |
124 | e = e + 1 / d; |
125 | } |
125 | } |
126 | 126 | ||
127 | if ((int) (100000000 * e) != E_10e8) { |
127 | if ((int) (100000000 * e) != E_10e8) { |
128 | if (!sh_quiet) |
128 | if (!sh_quiet) |
129 | printf("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8); |
129 | printf("tid%llu: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8); |
130 | atomic_inc(&threads_fault); |
130 | atomic_inc(&threads_fault); |
131 | break; |
131 | break; |
132 | } |
132 | } |
133 | } |
133 | } |
134 | atomic_inc(&threads_ok); |
134 | atomic_inc(&threads_ok); |
Line 159... | Line 159... | ||
159 | } |
159 | } |
160 | 160 | ||
161 | #ifdef KERN_ia64_ARCH_H_ |
161 | #ifdef KERN_ia64_ARCH_H_ |
162 | if ((int) (1000000 * pi) != PI_10e8) { |
162 | if ((int) (1000000 * pi) != PI_10e8) { |
163 | if (!sh_quiet) |
163 | if (!sh_quiet) |
164 | printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100)); |
164 | printf("tid%llu: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100)); |
165 | atomic_inc(&threads_fault); |
165 | atomic_inc(&threads_fault); |
166 | break; |
166 | break; |
167 | } |
167 | } |
168 | #else |
168 | #else |
169 | if ((int) (100000000 * pi) != PI_10e8) { |
169 | if ((int) (100000000 * pi) != PI_10e8) { |
170 | if (!sh_quiet) |
170 | if (!sh_quiet) |
171 | printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8); |
171 | printf("tid%llu: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8); |
172 | atomic_inc(&threads_fault); |
172 | atomic_inc(&threads_fault); |
173 | break; |
173 | break; |
174 | } |
174 | } |
175 | #endif |
175 | #endif |
176 | } |
176 | } |