Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 24th, 2008, 10:27 PM
paytonb paytonb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 paytonb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 41 sec
Reputation Power: 0
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Assembly - Trouble with ceil.w.s instruction in MIPS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway