projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[kopensolaris-gnu/glibc.git]
/
math
/
test-math.c
1
#include <ansidecl.h>
2
#include <stdio.h>
3
#include <math.h>
4
#include <stdlib.h>
5
6
int
7
DEFUN_VOID(main)
8
{
9
CONST char str[] = "123.456";
10
double x;
11
12
x = atof (str);
13
14
printf ("%g %g\n", x, pow (10.0, 3.0));
15
16
return 0;
17
}