17 Decimal Places???

Description: It's archive, posting new is here http://wohlsoft.ru/forum/viewforum.php?f=11

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 26
Reputation: 15
Posts: 264
Joined: 27 Jun 2014

Post #1by Sambo » 12 Jul 2016, 1:58

Why does the layer movement tab have 17 freaking decimal places? Under which circumstance could someone possibly need that many?
Image
Current Project:
Image

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 23
Reputation: 170
Posts: 693
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #2by Yoshi021 » 12 Jul 2016, 2:57

The more precise the better.
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 31
Reputation: 507
Posts: 1825
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #3by Wohlstand » 12 Jul 2016, 8:11

Double - a floating point type which has 17 decimals precision. I sets so big precission because limit of spin-box GUI element where impossible to have variable precision without data loss.
Image

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 26
Reputation: 15
Posts: 264
Joined: 27 Jun 2014

Post #4by Sambo » 12 Jul 2016, 20:56

I have no idea what you're talking about, but I guess you know what you're doing.

So, if PGE is supposed to be compatible with SMBX, are we going to keep the really screwy layer-movement system where you have to use speed values like 1.96923 to get the layer to be in the right place at the right time? Because, I find that system just a little bit annoying. I shouldn't have to use a calculator to figure out how fast I want a layer to move.
Image
Current Project:
Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 31
Reputation: 507
Posts: 1825
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #5by Wohlstand » 1 May 2017, 14:28

Internally SMBX uses double type, therefore 17 decimals precision is maximal. I'll try to check this to don't force 17-decimals view and allow any precision without breaking of design
Image

Last bumped by Wohlstand on 1 May 2017, 14:28.


Return to “Troubleshooting”

Who is online (over the past 5 minutes)

Users browsing this forum: 5 guests