How can negative and positive infinity be used in java,as in for graphing,range of functions(mathematical),etc.? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

How can negative and positive infinity be used in java,as in for graphing,range of functions(mathematical),etc.?

Usage of infinty

20th Dec 2018, 5:59 AM
KEVIN SHENOY
KEVIN SHENOY - avatar
2 Respuestas
+ 2
static NEGATIVE_INFINITY/POSITIVE_INFINITY present in Double and Float classes, You can use it value in comparison See example: https://code.sololearn.com/cHKCQaUlaSbE
22nd Dec 2018, 4:55 PM
Pavel Zubakha
Pavel Zubakha - avatar
0
Thank you.
1st Mar 2019, 8:09 AM
KEVIN SHENOY
KEVIN SHENOY - avatar