Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

double precision floating point

 
James Jones
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i am not sure how to make this an array of double precision floating point.....i am not sure what that means...can some1 help me out please...
thanks

[ September 03, 2003: Message edited by: Cindy Glass ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java type "float" is also called "single-precision floating point." The Java "double" is the double-precision version you're looking for.
Now, in your case, you've got an array of "int". You want an array of "double" instead -- is that all?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic