dbryrob4327 dbryrob4327
  • 14-09-2019
  • Computers and Technology
contestada

What is the smallest floating number can be represented in C++? -3.4*10^38

Respuesta :

ExieFansler ExieFansler
  • 18-09-2019

Answer:

FLT_MIN.

Explanation:

In C++ FLT_MIN is used to represent the smallest floating point number.You have to include two libraries for FLT_MIN to work and these are as following:-

limits.h

float.h

for example:-

#include <iostream>

#include<limits.h>

#include<float.h>

using namespace std;

int main() {

   cout<<FLT_MIN;

return 0;

}

Output:-

3.40282e+38

Answer Link

Otras preguntas

Abu is trying to decide which pet–sitting service he wants to use . Your Pets charges a $15 fee, plus $1 .75 per hour . Sit Pets charges an $11 fee, plus $2 .25
Which factors have been major influences on the growth of American cities
The opposing argument in a persuasive essay is often called
Amanda asked each student in her class: How many pets do you have? The data collected is below. Amanda's Class: 0, 0, 2, 1, 1, 0, 5, 0, 3, 2, 1, 1, 0, 2, 4, 0,
James and his family spend a morning picking peaches. They fill several bags. This line plot shows the weight of each bag. How many more pounds does one of the
help me with this math question
In each following find x. Leave answer in simplified radical form.
Create a logical connection between effective communication and choices about drug usage.​
The following figures are parallelogram. find X and y​
How much of a 24-gram sample of Radium-226 will remain unchanged at the end of three half-life periods?