File: dr.i

package info (click to toggle)
frama-c 20161101%2Bsilicon%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,324 kB
  • ctags: 35,695
  • sloc: ml: 200,142; ansic: 31,465; makefile: 2,334; sh: 1,643; lisp: 259; python: 85; asm: 26
file content (29 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* run.config*
  STDOPT:
  STDOPT: #"-float-hex"
*/

float big  = 100e30f;
float big2 = 100.126E30f;

float ne1 = -0.1f, ne2 = -.5f, nodigits = 10.f;
float smaller = 1e-99999999999999999999999f; 
//  larger  = 1e99999999999999999999999f; causes initial state to bottomify
float he = 0X1.8p1f;
float g1 = 0.1 ;
float f1 = 0.1f, f9 = 0.999999999999999999f, ep = 1.25e+10f;

float  g2 = 1.01161128282547 ;
float  f2 = 1.01161128282547f;
double d2 = 1.01161128282547 ;

int e1, e2;

int printf(const char *format, ...);

main(){
  e1 = f1 == g1;
  e2 = f2 == g2;
  printf("%d %d\n", e1, e2);
  return 0;
}