What is floating point number in swift?



What is floating point number in swift?..

Answer / Sanjeev Singh Tamori

"Floating point numbers are a type of real number that can represent subnormal, zero, and normal numbers as well as positive and negative infinity and NaN (Not-a-Number). In Swift, floating point numbers are represented by the types Float and Double. They can be created using literals or by converting other numeric types."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Swift Interview Questions

What are the new feature in swift 4.0?

1 Answers  


Mention what is the characteristics of Switch in Swift?

1 Answers  


What are the different control transfer statements used in swift?

1 Answers  


Is swift open source?

1 Answers  


What are the different floating point numbers in swift?

1 Answers  


What are the differences between a struct and a class?

1 Answers  


What is an in-out parameter in swift?

1 Answers  


What is tuple? How to create a tuple in swift?

1 Answers  


Does apple use swift internally?

1 Answers  


How does swift achieve multiple inheritance?

1 Answers  


Explain the usage of class and benefits of inheritance.

1 Answers  


What is a tuple in swift?

1 Answers  


Categories