addReplyHumanLongDouble() API added.

Send a long double or double as a bulk reply, in a human friendly
format.
This commit is contained in:
antirez
2016-02-18 22:08:47 +01:00
parent 158d1e2fbf
commit 79e553a58d
2 changed files with 10 additions and 0 deletions

View File

@ -1104,6 +1104,7 @@ void addReplyBulkSds(client *c, sds s);
void addReplyError(client *c, const char *err);
void addReplyStatus(client *c, const char *status);
void addReplyDouble(client *c, double d);
void addReplyHumanLongDouble(client *c, long double d);
void addReplyLongLong(client *c, long long ll);
void addReplyMultiBulkLen(client *c, long length);
void copyClientOutputBuffer(client *dst, client *src);