virtualx-engine/core/io
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
..
compression.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
compression.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
config_file.cpp Add a "keep" import mode to keep files as-is and export them. 2021-03-22 17:19:19 -03:00
config_file.h Add a "keep" import mode to keep files as-is and export them. 2021-03-22 17:19:19 -03:00
dtls_server.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
dtls_server.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
file_access_compressed.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_compressed.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_encrypted.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_encrypted.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_memory.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_memory.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_network.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_network.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_pack.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_pack.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_zip.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_zip.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
http_client.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
http_client.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
image.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
image.h Add ability to change Icon Saturation 2021-02-12 12:16:37 -03:00
image_loader.cpp Improve resource load cache 2021-02-11 15:44:28 -03:00
image_loader.h Improve resource load cache 2021-02-11 15:44:28 -03:00
ip.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
ip.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
ip_address.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
ip_address.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
json.cpp Increase String::num default decimal precision 2021-05-29 11:24:57 -04:00
json.h Increase String::num default decimal precision 2021-05-29 11:24:57 -04:00
logger.cpp Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-02-28 19:36:10 -03:00
logger.h Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-02-28 19:36:10 -03:00
marshalls.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
marshalls.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multiplayer_api.cpp Fix typos with codespell 2021-05-20 12:38:56 +02:00
multiplayer_api.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
net_socket.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
net_socket.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
networked_multiplayer_peer.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
networked_multiplayer_peer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packed_data_container.cpp Add PackedDataContainer data pointer check for non nullable 2021-05-05 21:17:49 +05:00
packed_data_container.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_dtls.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_dtls.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_udp.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
packet_peer_udp.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
pck_packer.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
pck_packer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource.cpp Implement Particle Trails 2021-04-30 17:38:02 -03:00
resource.h Implement Particle Trails 2021-04-30 17:38:02 -03:00
resource_format_binary.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
resource_format_binary.h Improve resource load cache 2021-02-11 15:44:28 -03:00
resource_importer.cpp Use multiple threads to import. 2021-04-19 14:12:22 -03:00
resource_importer.h Use multiple threads to import. 2021-04-19 14:12:22 -03:00
resource_loader.cpp Change behavior of String.right 2021-05-20 23:07:57 +02:00
resource_loader.h doc: Sync classref with current source 2021-02-19 14:39:14 +01:00
resource_saver.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_saver.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
stream_peer.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
stream_peer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
stream_peer_ssl.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
stream_peer_ssl.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
stream_peer_tcp.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
stream_peer_tcp.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
tcp_server.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
tcp_server.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
translation_loader_po.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
translation_loader_po.h Improve resource load cache 2021-02-11 15:44:28 -03:00
udp_server.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
udp_server.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
xml_parser.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
xml_parser.h Add support for numeric XML entities to XMLParser 2021-02-14 11:00:25 -06:00
zip_io.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
zip_io.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00