Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
778a21b7
Commit
778a21b7
authored
Oct 05, 2017
by
James Willis
Browse files
Re-enable floating point exceptions.
parent
25025541
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testActivePair.c
View file @
778a21b7
...
...
@@ -423,7 +423,7 @@ int main(int argc, char *argv[]) {
clocks_set_cpufreq
(
cpufreq
);
/* Choke on FP-exceptions */
//
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
feenableexcept
(
FE_DIVBYZERO
|
FE_INVALID
|
FE_OVERFLOW
);
/* Generate a RNG seed from time. */
unsigned
int
seed
=
time
(
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment