Commit Graph

6 Commits

Author SHA1 Message Date
Qwertystop
8d1bff6aea Document behavior of modulo operator (#9358)
Different languages and contexts have different default behaviors for modulo
where one or both operands are negative. "The remainder of an integer division"
is underspecified. As such, clarification is in order.

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-07-30 07:38:27 +02:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
aXu-AP
81b2cf3563 Point to GlobalScope from Evaluating Expressions tut
Update to 4.x since functions were moved from GDScript to GlobalScope.

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-24 21:54:18 +03:00
Jcrespo
6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
itsadrago
e9c31d9104 Fix incorrect explanation of successful evaluation in Evaluating expressions (#5424) 2021-12-02 16:56:03 +01:00
Hugo Locurcio
7c2b78e38b Add a page on evaluating expressions using the Expression class 2020-11-25 16:27:41 +01:00