|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Assembly - Trouble with ceil.w.s instruction in MIPS
I am having trouble using the ceiling instruction.
I am new to assembly and have never used the ceiling instruction before. My values before the instruction are $f10 = 1.1000005 $f12 = 1.0000000 the instruction I use is Code:
ceil.w.s $f12,$f10 the value that ends up in $f12 is 2.80260e-045 which obviously returns 0.0000000 when I use the li $v0, 2 syscall .. what am I doing wrong? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Assembly - Trouble with ceil.w.s instruction in MIPS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|