diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-14 14:43:42 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-14 19:05:58 +0000 |
commit | 05df075154a832fcb476e1dfcfb865722d0ea898 (patch) | |
tree | b8b771b62adae74d5d5ee561db75d10de3a848bf /core/fxcrt/fx_ext.h | |
parent | 6b94f01d1c8ad386d497428c7397b1a99614aeba (diff) | |
download | pdfium-05df075154a832fcb476e1dfcfb865722d0ea898.tar.xz |
Replace FX_FLOAT with underlying float type.
Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56
Reviewed-on: https://pdfium-review.googlesource.com/3031
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_ext.h')
-rw-r--r-- | core/fxcrt/fx_ext.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/fxcrt/fx_ext.h b/core/fxcrt/fx_ext.h index 3ee5a4f91f..e605d04077 100644 --- a/core/fxcrt/fx_ext.h +++ b/core/fxcrt/fx_ext.h @@ -15,14 +15,14 @@ #define FX_INVALID_OFFSET static_cast<uint32_t>(-1) -FX_FLOAT FXSYS_tan(FX_FLOAT a); -FX_FLOAT FXSYS_logb(FX_FLOAT b, FX_FLOAT x); -FX_FLOAT FXSYS_strtof(const char* pcsStr, - int32_t iLength = -1, - int32_t* pUsedLen = nullptr); -FX_FLOAT FXSYS_wcstof(const wchar_t* pwsStr, - int32_t iLength = -1, - int32_t* pUsedLen = nullptr); +float FXSYS_tan(float a); +float FXSYS_logb(float b, float x); +float FXSYS_strtof(const char* pcsStr, + int32_t iLength = -1, + int32_t* pUsedLen = nullptr); +float FXSYS_wcstof(const wchar_t* pwsStr, + int32_t iLength = -1, + int32_t* pUsedLen = nullptr); wchar_t* FXSYS_wcsncpy(wchar_t* dstStr, const wchar_t* srcStr, size_t count); int32_t FXSYS_wcsnicmp(const wchar_t* s1, const wchar_t* s2, size_t count); int32_t FXSYS_strnicmp(const char* s1, const char* s2, size_t count); @@ -75,7 +75,7 @@ inline int FXSYS_toDecimalDigit(const wchar_t c) { return std::iswdigit(c) ? c - L'0' : 0; } -FX_FLOAT FXSYS_FractionalScale(size_t scale_factor, int value); +float FXSYS_FractionalScale(size_t scale_factor, int value); int FXSYS_FractionalScaleCount(); void* FX_Random_MT_Start(uint32_t dwSeed); |