summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/double.c
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-07-06 12:07:15 -0700
committerJack Palevich <jackpal@google.com>2009-07-06 12:07:15 -0700
commit95727a0b057fb6d7117e70cf0e9621892ec781c3 (patch)
treef3f6c6240a3ba781db290387d3e16c1237a37c11 /libacc/tests/data/double.c
parent3f22649d980717aa8bb0160c9a1d436bc813f05d (diff)
downloadsystem_core-95727a0b057fb6d7117e70cf0e9621892ec781c3.zip
system_core-95727a0b057fb6d7117e70cf0e9621892ec781c3.tar.gz
system_core-95727a0b057fb6d7117e70cf0e9621892ec781c3.tar.bz2
Initial support for float, double.
Diffstat (limited to 'libacc/tests/data/double.c')
-rw-r--r--libacc/tests/data/double.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libacc/tests/data/double.c b/libacc/tests/data/double.c
new file mode 100644
index 0000000..5bc20a3
--- /dev/null
+++ b/libacc/tests/data/double.c
@@ -0,0 +1,7 @@
+double atof(char *nptr);
+
+int main() {
+ printf("Value = %g\n", atof("10.42"));
+ return 0;
+}
+