[Question]: where is "__strtorQ() "

85 views
Skip to first unread message

Chen Wang

unread,
Nov 5, 2020, 10:56:00 PM11/5/20
to Android Building
hello,
I am building bionic libc with tag 10.0.0_r39
in file bionic/libc/bionic/strtold.cpp, I see following codes:

extern "C" int __strtorQ(const char*, char**, intvoid*);

long double strtold(const char* s, char** end_ptr) {
#if defined(__LP64__)
  long double result;
  __strtorQ(s, end_ptr, FLT_ROUNDS, &result);
  return result;
#else
  // This is fine for LP32 where long double is just double.
  return strtod(s, end_ptr);
#endif
}

I searched sourcecode, but could not find "__strtorQ()". Why the the build can pass?

Thanks in adv.

Chen Wang

unread,
Nov 6, 2020, 3:21:11 PM11/6/20
to Android Building
Hi, please ignore this question, I have found the answer yet. Thanks anyway.
Reply all
Reply to author
Forward
0 new messages