godot/modules
Heikki Simojoki 09a905ca80
Increase String::num default decimal precision
Fixes #34541

Renamed MAX_DIGITS to MAX_DECIMALS, since it only changes the
amount of digits after the decimal point.

Increased MAX_DECIMALS to 32, and made String::num use
MAX_DECIMALS consistently. If -1 is passed as
decimal precision to String::num, it now gets changed to
the correct precision based on the number's magnitude,
instead of using printf default(which is 6)

String::num_real also calculates the correct precision now.

Also made the types used in floating-point math more
consistent in a few places.
2021-05-29 11:24:57 -04:00
..
basis_universal
bmp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
bullet
camera
csg
cvtt
dds
denoise
enet Fix typos with codespell 2021-05-20 12:38:56 +02:00
etcpak
fbx Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
freetype
gdnative Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
gdnavigation Replace QuickHull with Bullet's convex hull computer. 2021-05-22 22:35:42 +02:00
gdscript Increase String::num default decimal precision 2021-05-29 11:24:57 -04:00
glslang
gltf Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
gridmap Merge pull request #48644 from Calinou/editor-increase-icon-saturation 2021-05-24 19:20:09 +02:00
hdr
jpg Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
jsonrpc
lightmapper_rd
mbedtls Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
meshoptimizer Update with experimental mesh optimizer. 2021-05-22 08:58:50 -07:00
minimp3 Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
mobile_vr
mono Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
ogg
opensimplex Add support for generating noise images with an offset. 2021-05-20 08:20:23 -07:00
opus
pvr
raycast Upgrade Embree to the latest official release. 2021-05-21 17:00:24 +02:00
regex
squish
stb_vorbis Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
svg Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
text_server_adv Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
text_server_fb Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
tga Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
theora Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
tinyexr Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
upnp
vhacd
visual_script The built in function math/seed was missing the sequenceport. 2021-05-22 14:01:35 +02:00
vorbis
webm Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
webp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
webrtc Fix typos with codespell 2021-05-20 12:38:56 +02:00
websocket
webxr Fix typos with codespell 2021-05-20 12:38:56 +02:00
xatlas_unwrap
modules_builders.py
register_module_types.h
SCsub