Displaying 1 result from an estimated 1 matches for "starfive".
Did you mean:
  starfire
  
2023 Feb 23
2
Possible NA Propagation Failure in RISC-V64 CPU?
...n NaN. Calculations
involving both NA and NaN can result in either value.
While many R functions handle this logic in their source codes, basic
arithmetic operations such as +-/* throw it to the hardware to handle.
However, the RISC-V64 CPU does not behave as expected, at least the CPU I
am using (Starfive JH7100-7110).
Here are the relevant bit patterns. From my understanding, as IEEE only
regulates the bit patterns of NaN, R picks one of the bit patterns (ending
with 07a2) and declares it as NA.
# print_hex is a function to print the bit pattern in hex
> print_hex(0.1)
3fb999999999999a # same...