Mix in eepSKYe
-
- Posts: 313
- Joined: Thu Dec 29, 2011 10:18 am
- Country: Australia
- Location: Cooloola Cove, Australia
Mix in eepSKYe
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
- MikeB
- 9x Developer
- Posts: 18054
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mix in eepSKYe
That's a classic little bug when using floating point values. I'll check on it.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Mix in eepSKYe
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
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
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
- MikeB
- 9x Developer
- Posts: 18054
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mix in eepSKYe
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 313
- Joined: Thu Dec 29, 2011 10:18 am
- Country: Australia
- Location: Cooloola Cove, Australia
Re: Mix in eepSKYe
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
Dave
Re: Mix in eepSKYe
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
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
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