æµ®åå°æ°ç¹æ°ã«ã¯IEEE 754ã¨ããæ¨æºè¦æ ¼ãããã¾ãããè¦æ ¼ã®ç¯å²å ã§ãã£ã¦ãå ãã«å®è£ ã«ããå·®ç°ãèªãããã¦ãã¾ãããã®ä¸ã¤ãNaNã®ããããã¿ã¼ã³ã§ãã WebAssemblyã¯NaNã®ããããã¿ã¼ã³ã«é¢ãã¦ã¯å®è£ ä¾åã®çµæã許容ãã¦ãããWasmã©ã³ã¿ã¤ã ã¯ç¹ã«æ·±ãçç±ããªããã°ãã¹ãCPUã®æµ®åå°æ°ç¹å½ä»¤ããã®ã¾ã¾ç¨ããã¨èãããããããçµæã¨ãã¦ãWasmããNaNã®ããããã¿ã¼ã³ã観測ãããã¨ã§ãã¹ãã®CPUã®å½ä»¤ã»ãããæ¨æ¸¬ããããã¨ãã§ãã¾ãã ããã§ã¯ããx86(_64)ããRISC-Vãããã®ä»ï¼Armãªã©ï¼ãã®3æã§å¤å®ãããã¨ãç®æãã¾ãã å¤å®ã³ã¼ã å¤å®ããã³ã¼ãã¯ä»¥ä¸ã§ãï¼ #include <inttypes.h> #include <stdio.h> #include <string.h> float u32_to_f32(uint32_t x) {
{{#tags}}- {{label}}
{{/tags}}