### Godot version

4.1.1

### System information

linux

### Issue description

The `"%+f"` format adds a `+` sign in front of positive numbers. If you try to format `-0.0`, it breaks and displays both a `+` and a `-`.

### Steps to reproduce

```gdscript
@tool
extends EditorScript

func _run() -> void:
    print("%+f" % -0.0)
```

### Minimal reproduction project

see above
end = len;
			}
		}
		if (p_allow_empty || (end > from)) {
			if (p_maxsplit <= 0) {
				ret.push_back(substr(from, end - from));
			} else {
				
				if (p_maxsplit == ret.size()) {
					ret.push_back(substr(from, len));
					break;
				}
				
				ret.push_back(substr(from, end - from));
			}
		}
		if (end == len) {
			break;
		}
		from = end + p_splitter.length();
	}
	return ret;
}
Vector<> ::rsplit(const  &p_splitter, bool p_allow_empty, int p_maxsplit) const {
	Vector<> ret;
	const int len = length();
	int remaining_len = len;
	while (true) {
		if (remaining_len < p_splitter.length() || (p_maxsplit > 0 && p_maxsplit == ret.size())) {