Code

Make sure to print non-a-number as 'nan'.
authorSebastian Harl <sh@tokkee.org>
Mon, 17 Nov 2014 18:41:40 +0000 (19:41 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 17 Nov 2014 18:41:40 +0000 (19:41 +0100)
commit0d7d7ec733f740fa35a41aa857a89abc1b8b8881
tree83cac5100c02eb9867e07488fed417c52d489f72
parent3362af58d11fe2bbaedc1979a7055bd1965a1209
Make sure to print non-a-number as 'nan'.

Some versions of GNU libc use '-nan' instead which we don't want. For example,
Go's JSON package doesn't support that at all.
src/core/data.c
src/core/store.c