Mix in eepSKYe

eepSKYe is the desktop too for flashing and managing your sky9x firmware.
Post Reply
Suncoaster
Posts: 313
Joined: Thu Dec 29, 2011 10:18 am
Country: Australia
Location: Cooloola Cove, Australia

Mix in eepSKYe

Post by Suncoaster »

I am not sure if this is a minor bug or it is my usage of the feature. I was adding a slow up and down on a mix and when I save it and exit I lose 0.1 from the setting i.e. if I set it at 1.0 it saves as 0.9 :?

User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Mix in eepSKYe

Post by MikeB »

That's a classic little bug when using floating point values. I'll check on it.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Mix in eepSKYe

Post by jhsa »

I just tried to reproduce the problem and I am not able to.. Mike, what are the floating point values? I don't know the term, sorry about my ignorance.. :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Mix in eepSKYe

Post by MikeB »

Numbers with a decimal point and digits after it! They can't be accurately represented in binary.
If you set a slow value of 1.0 by clicking on the 'up' button 10 times, it displays as 1.0, but gets saved as 0.9. If you click up to 1.1, then down to 1.0, it gets saved as 1.0. typing 1.0 in also works OK.
I've already edited the source code to fix this, not sure when I will build an executable.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Suncoaster
Posts: 313
Joined: Thu Dec 29, 2011 10:18 am
Country: Australia
Location: Cooloola Cove, Australia

Re: Mix in eepSKYe

Post by Suncoaster »

No big one Mike, I thought I might have been doing something wrong. In future I will just type the value instead of clicking the 'up' button to set the value.

Dave

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Mix in eepSKYe

Post by jhsa »

Thanks Mike. Now I understand the problem.. Funny that until 0.5 it works as supposed but from 0.6 onwards the problem is there.. After two, at least with the values I selected, It didn't seem to do the problem..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “eepSKYe”