mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-27 22:33:29 -05:00
chore: fix some typos in comments
Signed-off-by: growfrow <growfrow@outlook.com>
This commit is contained in:
4
src/3rdparty/rapidjson/document.h
vendored
4
src/3rdparty/rapidjson/document.h
vendored
@@ -1805,7 +1805,7 @@ public:
|
||||
uint64_t GetUint64() const { RAPIDJSON_ASSERT(data_.f.flags & kUint64Flag); return data_.n.u64; }
|
||||
|
||||
//! Get the value as double type.
|
||||
/*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessDouble() to check whether the converison is lossless.
|
||||
/*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessDouble() to check whether the conversion is lossless.
|
||||
*/
|
||||
double GetDouble() const {
|
||||
RAPIDJSON_ASSERT(IsNumber());
|
||||
@@ -1817,7 +1817,7 @@ public:
|
||||
}
|
||||
|
||||
//! Get the value as float type.
|
||||
/*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the converison is lossless.
|
||||
/*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the conversion is lossless.
|
||||
*/
|
||||
float GetFloat() const {
|
||||
return static_cast<float>(GetDouble());
|
||||
|
||||
Reference in New Issue
Block a user