[Scilab-Dev] bitset function

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Mon Nov 5 08:09:55 CET 2012


On 05/11/2012 06:05, Станислав wrote:
> 04.11.2012 18:06, Sylvestre Ledru пишет:
>> On 27/10/2012 09:03, Станислав wrote:
>>> Hi.
>>> I have reported an issue about bitset function (see bug #12013).
>>>
>>> I have changed the code of function. My solution is not brilliant but it
>>> works good for me.
>>>
>>> The bitset function does not  have a test-file so I have wrote it.
>>> I am going to write a SEP-file which will include description of:
>>> 1) algorithm of work when pos is more than 32 or/and  x is more than 2^32-1;
>>> 2) algorithm of work when x is an uint8, uint16 or uint32 value and pos
>>> is more than 8 (bitset works wrong if x is uint8 and pos is 9);
>>> 3) change of type of x in different cases.
>>>
>>> If someone is working on bitset function let we discuss it.
>> AFAIK, nobody is working on this function.
>>
>> Let me know when you have progress on the code. I will be happy to
>> review your patches.
>>
>> Thanks,
>> Sylvestre
>> Hi.
> I have wrote bitseb.tst. But it is not final result. Now I am working on
> problem "Input variable v is not a scalar and its entries have different
> values." I have reported bug#12054.
You should not try to tackle every problem at once. We prefer to have "a
commit = a modification/bug fix"

> I am goingalso to change help page of bitset function. See SEP.
> I do not know what is *.dia.ref file for. So I did not write it.
To create a ref, you have to call the test_run function with the argument:
test_run("elementary_functions","bitset","create_ref")

Thanks,
Sylvestre



More information about the dev mailing list