projects
/
akaros.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
UCQ debug code
[akaros.git]
/
tests
/
fp_test.c
1
#include <stdio.h>
2
3
int main(int argc, char** argv)
4
{
5
volatile float x = 2.5;
6
volatile float y = 5.0;
7
volatile float var = x*y;
8
printf("value decimal: %d\n", (int)var);
9
// printf("value floating: %f\n", var);
10
11
// int x = 25;
12
// int y = 50;
13
// int var = x*y;
14
// printf("value: %d\n", var);
15
}