What float value makes sprintf_s() produce “1.#QO”?

前端 未结 4 1045
清歌不尽
清歌不尽 2020-12-06 17:09

I have some (legacy embedded c) code which produces a .csv file by means of some sprintf calls. Occasionally I see values of 1.#QO. I\'ve tried rep

4条回答
  •  盖世英雄少女心
    2020-12-06 17:18

    A little googling points to a divide by 0 error. Though I would expect something different if that were the case. That said, it appears to be specific to MS/Visual C.

提交回复
热议问题