[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Right shifting in octave
From: |
goblinsly |
Subject: |
Re: Right shifting in octave |
Date: |
Fri, 2 May 2014 08:08:03 -0700 (PDT) |
Thank you for your answer,
I have to program crc in octave as a college asignment. The problem is that
i am a total beginner as far as octave goes. That is why i am using the
problem we were given in c as a guideline. It is proving to be useless
though since, as you pointed, octave and c handle number differently.
If i write number 0xFFFFFFFF in C ( unsigned int ), the result is -1, if i
write it in octave i get a very big number ( 4294967295). How would i force
octave to get -1 ?
--
View this message in context:
http://octave.1599824.n4.nabble.com/Right-shifting-in-octave-tp4663871p4663875.html
Sent from the Octave - General mailing list archive at Nabble.com.