ã¡ãã£ã¨åã«blueskyã§è¦ããã話é¡ããã¨ã¯ãGraphQLã®ã¹ãã¼ãã§ã¯intã32ããããããªãã¦ã64ãããæ´æ°ã¨ããªãã®ãã¤ã±ã¦ãªããã¨ãã£ã話ã ã£ãããªã¨æããç´æçã«ã¯ããã¯ãJavascriptã§ã¯ãã¹ã¦ãå精度浮åå°æ°ç¹æ°ã ãã64bit intããªããããã¨ãããã¨ã«ãªããããããã調ã¹ã¦ã¿ãã¨ãããããããããæ´å²çäºæ
ãããããã ã ãããã«JSã«ã¯ãã¨ãã¨ã²ã¨ã¤ã®Numberåãããªããããããdoubleå(å精度浮åå°æ°ç¹)ã ãã§æ°å¤ã表ç¾ãã¦ãããIEEE754ã®å精度浮åå°æ°ç¹æ°ã¯ä»®æ°é¨ã52ãããããã®ã§ãå®éã«ã¯32ãããæ´æ°ã¦ãã©ã§ããã°å
¨ã¦èª¤å·®ãªã表ç¾ã§ããããªã®ã§32ãããæ´æ°ã¾ãã¯å精度浮åå°æ°ç¹æ°ãã©ã¡ãã使ããã¨ãããµãã«ç解ããã¦ããã ããã¯ãã£ã¦ãä¸ä¾¿ãªã®ã§ãç¾ä»£ã®JSã«ã¯BigIntããããES2020ã§å°å
¥ããããããããã ãæ®
{{#tags}}- {{label}}
{{/tags}}