godot/modules/gdscript
Hein-Pieter van Braam 364f2e8082 Correct hash behavior for floating point numbers
This backports the work in #7815 and the subsequent fixes in #8393

The following program now works as expected in this branch in both
release_debug and debug mode:

```gdscript
        print(sqrt(-1))
        print(sqrt(-1))

        var simple1=asin(10.0)
        var simple2=acos(10.0)
        print(simple1)
        print(simple2)
```

And successfully prints -nan 4 times

This fixes #9580 and fixes #8925
2017-08-20 23:44:28 +02:00
..
SCsub SCsub: Add python shebang as a hint for syntax highlighting 2016-10-30 14:51:34 +01:00
config.py style: Fix PEP8 blank lines issues in Python files 2016-11-02 22:29:36 +01:00
gd_compiler.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
gd_compiler.h Correct hash behavior for floating point numbers 2017-08-20 23:44:28 +02:00
gd_editor.cpp Enhanced debugger. ake 2.1 more productive! 2017-07-11 17:44:28 +08:00
gd_function.cpp Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:47:17 +02:00
gd_function.h Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:47:17 +02:00
gd_functions.cpp Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-18 12:10:21 -03:00
gd_functions.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
gd_parser.cpp push variable later when created, to avoid self-referencing as a valid case, closes #6111 2017-08-13 20:29:46 +02:00
gd_parser.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
gd_script.cpp fixed a bug where saving a GDScript file crashed the editor 2017-05-26 18:53:28 +02:00
gd_script.h Enhanced debugger. ake 2.1 more productive! 2017-07-11 17:44:28 +08:00
gd_tokenizer.cpp Correct hash behavior for floating point numbers 2017-08-20 23:44:28 +02:00
gd_tokenizer.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
register_types.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
register_types.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00