Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

General • Re: Instructions for the coprocessor CDP pico2

$
0
0
Thank you for your reply. I've already thought of an algorithm to perform this operation:
Divide the double by 2 to the 32nd power
Convert to an integer and place the result in register r1
Multiply this integer by 2 to the 32nd power
Subtract this integer from the original double
Convert the result to an integer and place it in register r0
r1 r0 contains the result.

Statistics: Posted by VincentARM — Wed Apr 02, 2025 3:49 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles