source:
trunk/source/processes/hadronic/models/binary_cascade/test/ecpt.c
@
1348
Last change on this file since 1348 was 1199, checked in by , 15 years ago | |
---|---|
File size: 196 bytes |
Rev | Line | |
---|---|---|
[1199] | 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.