diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-08 03:10:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-08 03:10:51 +0000 |
commit | 50b7bdacbd6d4af3bb3128c038e4e0e2cd0d50df (patch) | |
tree | 4ecda8d995277191f4a8545ce758b5cd1cc4b9c5 /nuttx/lib/lib_internal.h | |
parent | 56651d825a6651d0f70ec59d798c5d7f584786d1 (diff) | |
download | px4-nuttx-50b7bdacbd6d4af3bb3128c038e4e0e2cd0d50df.tar.gz px4-nuttx-50b7bdacbd6d4af3bb3128c038e4e0e2cd0d50df.tar.bz2 px4-nuttx-50b7bdacbd6d4af3bb3128c038e4e0e2cd0d50df.zip |
Add floating point support to printf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2656 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_internal.h')
-rw-r--r-- | nuttx/lib/lib_internal.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/lib/lib_internal.h b/nuttx/lib/lib_internal.h index 46af49cf4..6ec2fe201 100644 --- a/nuttx/lib/lib_internal.h +++ b/nuttx/lib/lib_internal.h @@ -1,7 +1,7 @@ /**************************************************************************** * lib/lib_internal.h * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -102,6 +102,13 @@ extern int lib_rawvprintf(const char *src, va_list ap); extern int lib_lowvprintf(const char *src, va_list ap); +/* Defined in lib_dtoa.c */ + +#ifdef CONFIG_LIBC_FLOATINGPOINT +extern char *__dtoa(double d, int mode, int ndigits, + int *decpt, int *sign, char **rve); +#endif + /* Defined in lib_libwrite.c */ extern ssize_t lib_fwrite(FAR const void *ptr, size_t count, FAR FILE *stream); |