Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

== primitive

 
Shiva Mohan
Ranch Hand
Posts: 486
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a basic question.


widening conversion happened to the long at lin5 .so long is changed to double before == test.But when i printed out the x value that is giving only long value.(not giving double value)Why?
 
Marcos R Oliveira
Ranch Hand
Posts: 62
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When long is changed to double before == test, it does not change the x type, nor this long is assigned to anything.
[ January 18, 2007: Message edited by: Marcos R Oliveira ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic