Displaying 20 results from an estimated 30 matches for "strtof".
Did you mean:
strtol
2007 Jul 14
3
Strange C programming problem
I've got this little program I wrote to test something, and it keeps
giving the wrong result. I'm not inexperienced in C, but I can't believe
strtof (et al) are broken, so I must be doing something wrong. However,
I've spent hours looking at this and comparing it to the man pages and
don't see what I'm doing wrong. strtod() and strtold() also give equally
wrong results. (the example program given on the strotd man page works
fine, B...
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
...irast.o(.text+0x1170): In function `strtoll':
: multiple definition of `strtoll'
main.o(.text+0x13b0): first defined here
trirast.o(.text+0x11a0): In function `strtold':
: multiple definition of `strtold'
main.o(.text+0x13e0): first defined here
trirast.o(.text+0x11d0): In function `strtof':
: multiple definition of `strtof'
main.o(.text+0x1410): first defined here
trirast.o(.text+0x1200): In function `strtoul':
: multiple definition of `strtoul'
main.o(.text+0x1440): first defined here
trirast.o(.text+0x1230): In function `strtol':
: multiple definition of `strto...
2009 Jan 22
0
[LLVMdev] Using LLVM as cross-compiler to C
...untime functions on the target, or is this difficult ? In the
> mailing list archive I saw some unresolved question with warnings about
> type conversions for someone trying this...
>
I'm not sure I understand your question. The program will have a call
to the C runtime functions (like strtof), and those are compiled into
calls in the assembly language. (Of course, the libc library needs to
be linked in to get the executable.) There are a few C runtime calls
that LLVM handles specially -- like memset, memcpy, etc. But it's not
necessary to have *all* C runtime calls be builtins or i...
2009 Jan 22
2
[LLVMdev] Using LLVM as cross-compiler to C
...s this difficult ? In the
>> mailing list archive I saw some unresolved question with warnings about
>> type conversions for someone trying this...
>>
>>
> I'm not sure I understand your question. The program will have a call
> to the C runtime functions (like strtof), and those are compiled into
> calls in the assembly language. (Of course, the libc library needs to
> be linked in to get the executable.) There are a few C runtime calls
> that LLVM handles specially -- like memset, memcpy, etc. But it's not
> necessary to have *all* C runtime ca...
2009 Jan 21
2
[LLVMdev] Using LLVM as cross-compiler to C
Hi All - Newbie warning... I am developing for a target that does not have
a functioning C++ environment, and need to use C++. It was suggested that I
could use LLVM to compile to C (using llc -march=c), then run the resulting
C-code through the working C-cross-compilation tools. So, some newbie
questions:
(1) Is this crazy ?
(2) What happens to all the C++ RTL ? Is it statically linked as
2009 Jan 23
0
[LLVMdev] Using LLVM as cross-compiler to C
...icult ? In the
> >> mailing list archive I saw some unresolved question with warnings about
> >> type conversions for someone trying this...
> >>
> > I'm not sure I understand your question. The program will have a call
> > to the C runtime functions (like strtof), and those are compiled into
> > calls in the assembly language. (Of course, the libc library needs to
> > be linked in to get the executable.) There are a few C runtime calls
> > that LLVM handles specially -- like memset, memcpy, etc. But it's not
> > necessary to hav...
2005 May 12
0
Using string from stdlib in winemaker
.../cstdlib:161: error: Syntaxfehler before `.' token
/usr/include/c++/3.3/cstdlib:172: error: `atoll' not declared
/usr/include/c++/3.3/cstdlib:173: error: `strtoll' not declared
/usr/include/c++/3.3/cstdlib:174: error: `strtoull' not declared
/usr/include/c++/3.3/cstdlib:176: error: `strtof' not declared
/usr/include/c++/3.3/cstdlib:177: error: `strtold' not declared
/usr/include/c++/3.3/cstdlib:178: error: Fehler beim Parsen before `}' token
/usr/include/c++/3.3/cstdlib:183: error: `lldiv_t' not declared
/usr/include/c++/3.3/cstdlib:185: error: `_Exit' not declare...
2016 Apr 12
0
Wine release 1.8.2
...nBufferInfoEx
39866 XIIZeal (steam) immediately exits on start
39875 Starcraft can't see Direct Cable Connection games hosted on another computer
39878 Diablo II does not start on 64bit system with more than 2GB VRAM cards
39908 SuperTux 0.3.5a crashes on startup, needs msvcr120.dll.strtof
40021 IDEA v1.7 fails to start
40053 Romance of the Three Kingdoms 13 (三國志13) fails to start
40083 Heroes of the Storm Freezes/Crashes after its recent updates
40129 MSI Reading and Writing Behaves differently than Windows
40147 Assertion 'm->state == STATE_PASSIVE' failed...
2011 Jan 05
0
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
Eric Christopher <echristo at apple.com> writes:
>>> Or cleanup both headers from unused stuff by Eric's
>>> suggestion?
>>
>> I'm not sure this is a good idea (not that it is bad either). Murphy's
>> Law says that a function that you remove today will be used tomorrow.
>
> I meant literally functions that aren't used in the
2011 Jan 05
2
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
On Jan 5, 2011, at 6:34 AM, Óscar Fuentes wrote:
> arrowdodger <6yearold at gmail.com> writes:
>
>>> Or to say it with other words: patches welcome.
>>
>> So, how should i proceed? Make CMake-generated config to be identical to
>> autotools one?
>
> That would be a good thing.
>
> Please note that some checks are a bit tricky. A function that
2011 Jan 05
4
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
...tomorrow. And adding an autoconf
> check is far from trivial, at least for those not familiarized with the
> autotools.
>
Adding a check for most standard functions is amazingly trivial:
AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ])
AC_CHECK_FUNCS([powf fmodf strtof round ])
AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday ])
AC_CHECK_FUNCS([isatty mkdtemp mkstemp ])
AC_CHECK_FUNCS([mktemp posix_spawn realpath sbrk setrlimit strdup ])
AC_CHECK_FUNCS([strerror strerror_r strerror_s setenv ])
AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zo...
2008 Dec 31
1
wineg++ problem with the standard library
...n declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:194: error: ::strtoll has not been declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:195: error: ::strtoull has not been declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:197: error: ::strtof has not been declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:198: error: ::strtold has not been declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:204: error: __gnu_cxx::lldiv_t has not been declared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cs...
2012 Aug 02
2
[LLVMdev] Proposal to merge SimplifyLibCalls into InstCombiner
...lls are folded:
1. `InstCombiners`: __memcpy_chk, __mempcpy_chk, __memset_chk, __strcpy_chk,
__stpcpy_chk, __strncpy_chk, __stpncpy_chk, __strcat_chk, __strncat_chk.
2. `SimplifyLibCalls`: strcat, strncat, strchar, strrchr, strcmp, strncmp,
strcpy, strncpy, strlen, strpbrk, strtol, strtod, strtof, strtoul,
strtoll, strtold, strtoull, strtold, strtoull, strspn, strcspn, strstr,
memcmp, memcpy, memmove, memset, __strcpy_chk, cosf, cos, cosl, powf,
pow, powl, llvm.pow.f32, llvm.pow.f64, llvm.pow.f80, llvm.pow.f128,
llvm.pow.ppcf128, exp21, exp2, exp2f, llvm.exp2.ppcf128, llvm.exp2....
2011 Feb 07
4
[PATCH/RFC v2 0/3] Updates to ACP smart driver
This is 2nd version of the earlier patch featuring a few new features
and fixes to the apcsmart driver, following the remarks in:
http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02294.html
Major changes from v1:
- handle battery.charge and battery.runtime checks at main.c level
- handle "immutable but writable" conflict gracefully at driver level
-
2014 Sep 17
2
[LLVMdev] fail to compile latest llvm?
...s
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for log... yes
checking for log2... yes
checking for log10... yes
checking for exp... yes
checking for exp2... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking...
2012 May 24
1
[LLVMdev] vmkit: Getting Started
...t64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
c...
2018 May 11
0
Wine release 3.8
...--------------------------
Changes since 3.7:
Akihiro Sagawa (2):
winmm: Fix default time division value in MIDI stream.
winmm: Avoid casting unsigned char to plain char.
Alex Henrie (8):
user32/tests: Drop nonsensical broadcast tests that fail on Windows 10.
include: Add strtof and strtold.
ucrtbase: Hook up _Exit.
include: Add atoll.
include: Add strtoll, strtoll_l, strtoull, and strtoull_l.
include: Add llabs.
include: Add lldiv and lldiv_t.
msvcrt: Omit pointer coding functions from SOs for newer MSVC versions.
Alexandre Julliard (8...
2016 Jun 28
1
Patches for adding 120 ms encoding
Hi Ulrich, thanks for the suggestion. My concern is that one of the valid
inputs is "2.5", which would require conversion to an int, e.g. x10, but
doing something like this would start to affect the code readability.
On Mon, Jun 27, 2016 at 3:02 PM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:
> Hi!
>
> A note on style: Looking at this chunk of the patch
2010 Jul 27
2
[LLVMdev] Failed to build llvm with gcc 4.3.4 on Solaris x86
...nt64_t... yes
checking for uint64_t... yes
checking for backtrace... no
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... no
checking for mkstemp... yes
checking for mktemp... yes
ch...
2012 May 29
3
[LLVMdev] make error
...t64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
c...