Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Infinity/00-TASK.txt
Normal file
10
Task/Infinity/00-TASK.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;Task:
|
||||
Write a function which tests if infinity is supported for floating point numbers (this step should be omitted for languages where the language specification already demands the existence of infinity, e.g. by demanding [[IEEE]] numbers), and if so, returns positive infinity. Otherwise, return the largest possible positive floating point number.
|
||||
|
||||
For languages with several floating point types, use the type of the literal constant '''1.5''' as floating point type.
|
||||
|
||||
|
||||
;Related task:
|
||||
* [[Extreme floating point values]]
|
||||
<br><br>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue