patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 53179ca..4a05fdc 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -753,8 +753,6 @@
Can also be used as a |method|: >
Compute()->abs()
-< {only available when compiled with the |+float| feature}
-
acos({expr}) *acos()*
Return the arc cosine of {expr} measured in radians, as a
@@ -770,8 +768,6 @@
Can also be used as a |method|: >
Compute()->acos()
-< {only available when compiled with the |+float| feature}
-
add({object}, {expr}) *add()*
Append the item {expr} to |List| or |Blob| {object}. Returns
@@ -904,8 +900,6 @@
Can also be used as a |method|: >
Compute()->asin()
-<
- {only available when compiled with the |+float| feature}
assert_ functions are documented here: |assert-functions-details|
@@ -925,8 +919,6 @@
Can also be used as a |method|: >
Compute()->atan()
-<
- {only available when compiled with the |+float| feature}
atan2({expr1}, {expr2}) *atan2()*
@@ -943,8 +935,6 @@
Can also be used as a |method|: >
Compute()->atan2(1)
-<
- {only available when compiled with the |+float| feature}
autocmd_add({acmds}) *autocmd_add()*
@@ -1428,8 +1418,6 @@
Can also be used as a |method|: >
Compute()->ceil()
-<
- {only available when compiled with the |+float| feature}
ch_ functions are documented here: |channel-functions-details|
@@ -1801,8 +1789,6 @@
Can also be used as a |method|: >
Compute()->cos()
-<
- {only available when compiled with the |+float| feature}
cosh({expr}) *cosh()*
@@ -1818,8 +1804,6 @@
Can also be used as a |method|: >
Compute()->cosh()
-<
- {only available when compiled with the |+float| feature}
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
@@ -2405,8 +2389,6 @@
Can also be used as a |method|: >
Compute()->exp()
-<
- {only available when compiled with the |+float| feature}
expand({string} [, {nosuf} [, {list}]]) *expand()*
@@ -2807,8 +2789,6 @@
Can also be used as a |method|: >
Compute()->float2nr()
-<
- {only available when compiled with the |+float| feature}
floor({expr}) *floor()*
@@ -2826,8 +2806,6 @@
Can also be used as a |method|: >
Compute()->floor()
-<
- {only available when compiled with the |+float| feature}
fmod({expr1}, {expr2}) *fmod()*
@@ -2848,8 +2826,6 @@
Can also be used as a |method|: >
Compute()->fmod(1.22)
-<
- {only available when compiled with |+float| feature}
fnameescape({string}) *fnameescape()*
@@ -5050,8 +5026,6 @@
Can also be used as a |method|: >
Compute()->isinf()
-<
- {only available when compiled with the |+float| feature}
islocked({expr}) *islocked()* *E786*
The result is a Number, which is |TRUE| when {expr} is the
@@ -5080,8 +5054,6 @@
Can also be used as a |method|: >
Compute()->isnan()
-<
- {only available when compiled with the |+float| feature}
items({dict}) *items()*
Return a |List| with all the key-value pairs of {dict}. Each
@@ -5510,8 +5482,6 @@
Can also be used as a |method|: >
Compute()->log()
-<
- {only available when compiled with the |+float| feature}
log10({expr}) *log10()*
@@ -5526,8 +5496,6 @@
Can also be used as a |method|: >
Compute()->log10()
-<
- {only available when compiled with the |+float| feature}
luaeval({expr} [, {expr}]) *luaeval()*
Evaluate Lua expression {expr} and return its result converted
@@ -5535,8 +5503,7 @@
argument accessible as _A inside first {expr}.
Strings are returned as they are.
Boolean objects are converted to numbers.
- Numbers are converted to |Float| values if vim was compiled
- with |+float| and to numbers otherwise.
+ Numbers are converted to |Float| values.
Dictionaries and lists obtained by vim.eval() are returned
as-is.
Other objects are returned as zero without any errors.
@@ -6483,8 +6450,6 @@
Can also be used as a |method|: >
Compute()->pow(3)
-<
- {only available when compiled with the |+float| feature}
prevnonblank({lnum}) *prevnonblank()*
Return the line number of the first line at or above {lnum}
@@ -7366,8 +7331,6 @@
Can also be used as a |method|: >
Compute()->round()
-<
- {only available when compiled with the |+float| feature}
rubyeval({expr}) *rubyeval()*
Evaluate Ruby expression {expr} and return its result
@@ -8536,8 +8499,6 @@
Can also be used as a |method|: >
Compute()->sin()
-<
- {only available when compiled with the |+float| feature}
sinh({expr}) *sinh()*
@@ -8553,8 +8514,6 @@
Can also be used as a |method|: >
Compute()->sinh()
-<
- {only available when compiled with the |+float| feature}
slice({expr}, {start} [, {end}]) *slice()*
@@ -8821,8 +8780,6 @@
Can also be used as a |method|: >
Compute()->sqrt()
-<
- {only available when compiled with the |+float| feature}
srand([{expr}]) *srand()*
@@ -8896,8 +8853,6 @@
Can also be used as a |method|: >
let f = text->substitute(',', '', 'g')->str2float()
-<
- {only available when compiled with the |+float| feature}
str2list({string} [, {utf8}]) *str2list()*
Return a list containing the number values which represent
@@ -9643,8 +9598,6 @@
Can also be used as a |method|: >
Compute()->tan()
-<
- {only available when compiled with the |+float| feature}
tanh({expr}) *tanh()*
@@ -9660,8 +9613,6 @@
Can also be used as a |method|: >
Compute()->tanh()
-<
- {only available when compiled with the |+float| feature}
tempname() *tempname()* *temp-file-name*
@@ -9897,8 +9848,6 @@
Can also be used as a |method|: >
Compute()->trunc()
<
- {only available when compiled with the |+float| feature}
-
*type()*
type({expr}) The result is a Number representing the type of {expr}.
Instead of using the number directly, it is better to use the
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e99e9ba..145d3bd 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -54,7 +54,6 @@
Examples: -123 0x10 0177 0o177 0b1011
Float A floating point number. |floating-point-format| *Float*
- {only when compiled with the |+float| feature} *E1076*
Examples: 123.456 1.15e-6 -1.1e3
String A NUL terminated string of 8-bit unsigned characters (bytes).
@@ -1441,7 +1440,6 @@
{exp} is the exponent, power of 10.
Only a decimal point is accepted, not a comma. No matter what the current
locale is.
-{only when compiled with the |+float| feature}
Examples:
123.456
diff --git a/runtime/doc/mlang.txt b/runtime/doc/mlang.txt
index edab4d4..724ec46 100644
--- a/runtime/doc/mlang.txt
+++ b/runtime/doc/mlang.txt
@@ -82,9 +82,9 @@
characters. This sets $LC_COLLATE.
Without an argument all are set, and additionally
$LANG is set.
- When compiled with the |+float| feature the LC_NUMERIC
- value will always be set to "C", so that floating
- point numbers use '.' as the decimal point.
+ If available the LC_NUMERIC value will always be set
+ to "C", so that floating point numbers use '.' as the
+ decimal point.
This will make a difference for items that depend on
the language (some messages, time and date format).
Not fully supported on all systems
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index ac8b4af..6e4afec 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -381,7 +381,7 @@
N *+folding* |folding|
*+footer* |gui-footer|
*+fork* Unix only: |fork| shell commands
- *+float* Floating point support
+T *+float* Floating point support Always enabled since 9.0.0491
N *+gettext* message translations |multi-lang|
- *+GUI_Athena* Unix only: Athena |GUI|
*+GUI_neXtaw* Unix only: neXtaw |GUI|