Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Hello, I'm trying to convert a double (3.16) and take its integer part (3). However I'm encountering problems doing this. Can someone pleeease help me out ? Here is my code: [CODE]main: li $v0, 7 #asking the user for a double syscall mov.d $f2, $f0 cvt.s.d $f4, $f2 #converting from … |
|
Hello, I'm writing a program in assembly and am encountering a problem. I want to convert a double (floating type number) into an integer (ie. 3.1 into 3). So far, my attempts have been futile. This is my code: [CODE] main: li $v0, 7 #asking the user for a double … |