• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 1

Why comparing 0.1 with 0.1 double and 0.1 float (same number) return different results?

https://code.sololearn.com/chMS20LYJgL3/?ref=app

c++doublefloat
13th Jun 2019, 8:59 AM
Taras Piskunov
Taras Piskunov - avatar
3 Respostas
+ 1
~ swim ~ Cool, thanks for the answer!
13th Jun 2019, 9:15 AM
Taras Piskunov
Taras Piskunov - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Sql practice
0 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes