17 Decimal Places???

Description: Report bugs and ask questions regarding PGE here.
Forum rules: Here you can ask any question related to PGE Project components:


Any questions related to LunaLUA project please ask HERE (LunaLUA subsection)
Any questions related to SMBX-38A (1.4.x) Chinese project please ask HERE (SMBX-38A subsection)
Moderators: Semi-moderatos, Moderators

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 21
Reputation: 13
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: 19
Reputation: 137
Posts: 675
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: 27
Reputation: 385
Posts: 1420
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

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.

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 21
Reputation: 13
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: 27
Reputation: 385
Posts: 1420
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

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

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: 2 guests