Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
52c885b4
Commit
52c885b4
authored
Jul 10, 2017
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiment with FPU traps
parent
17b5906f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
EDISOFT/src/init.c
EDISOFT/src/init.c
+1
-0
EDISOFT/src/task1.c
EDISOFT/src/task1.c
+6
-0
No files found.
EDISOFT/src/init.c
View file @
52c885b4
...
...
@@ -4,6 +4,7 @@
*/
#define CONFIGURE_INIT
#define TASKS 2
#define DEFINE_VARS
#include "system.h"
#include "printk.h"
...
...
EDISOFT/src/task1.c
View file @
52c885b4
...
...
@@ -6,6 +6,12 @@ rtems_task Task1_EntryPoint(rtems_task_argument argument)
int
task_no
=
(
int
)
argument
;
printk
(
"Inside task %d...
\n
"
,
task_no
);
double
a
=
1.79769313486e+308
;
printk
(
"BIG: %f
\n
"
,
a
);
printk
(
"BIGGER: %f
\n
"
,
a
/
0
.
2
);
printk
(
"What is 1.0/max? %f
\n
"
,
(
1
.
0
/
a
));
printk
(
"What is 0.0/0.0? %f
\n
"
,
(
0
.
0
/
(
1
.
0
/
a
)));
int
j
;
double
d
=
task_no
;
for
(
j
=
0
;
j
<
10000
;
j
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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