1
0
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:
growfrow
2024-04-18 16:54:52 +08:00
parent 4ab9329dda
commit 34475db2b3
4 changed files with 5 additions and 5 deletions

View File

@@ -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());