Fix comments

This commit is contained in:
Robin Jones 2025-03-29 23:38:32 +00:00 committed by GitHub
parent 386e8ffd3b
commit 65e51d803c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,22 +41,22 @@
#define MIN(a,b) ({ typeof(a) _a = a; typeof(b) _b = b; _a < _b ? _a : _b; })
/**
* @brief Converts a value to kilobytes.
* @brief Converts a value to kibibytes.
*
* This macro converts the given value `x` to kilobytes.
* This macro converts the given value `x` to kibibytes.
*
* @param x The value to convert.
* @return The value in kilobytes.
* @return The value in kibibytes.
*/
#define KiB(x) ((x) * 1024)
/**
* @brief Converts a value to megabytes.
* @brief Converts a value to mebibytes.
*
* This macro converts the given value `x` to megabytes.
* This macro converts the given value `x` to mebibytes.
*
* @param x The value to convert.
* @return The value in megabytes.
* @return The value in mebibytes.
*/
#define MiB(x) ((x) * 1024 * 1024)