Use the function to calculate with the uint128_t value.
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
return result;
}
-static long double uint128_t_to_double(nvme_uint128_t data)
+long double uint128_t_to_double(nvme_uint128_t data)
{
long double result = 0;
int i;
char *uint128_t_to_string(nvme_uint128_t val);
char *uint128_t_to_l10n_string(nvme_uint128_t val);
char *uint128_t_to_si_string(nvme_uint128_t val, __u32 bytes_per_unit);
+long double uint128_t_to_double(nvme_uint128_t data);
const char *util_uuid_to_string(unsigned char uuid[NVME_UUID_LEN]);
const char *util_fw_to_string(char *c);