source:
trunk/source/processes/hadronic/models/binary_cascade/test/ecpt.c@
1340
| Last change on this file since 1340 was 1199, checked in by , 16 years ago | |
|---|---|
| File size: 196 bytes | |
| Line | |
|---|---|
| 1 | |
| 2 | |
| 3 | #include <fenv.h> |
| 4 | |
| 5 | |
| 6 | int ecpt() |
| 7 | { |
| 8 | |
| 9 | // fesetenv (FE_NOMASK_ENV); |
| 10 | // feclearexcept(FE_INEXACT); |
| 11 | |
| 12 | feenableexcept(FE_INVALID); |
| 13 | feenableexcept(FE_DIVBYZERO); |
| 14 | return 0; |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
