• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

abt precision

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello all group members
sir i want to know that
1.what is precision?and wht is meant by single and double precision?
2.why is classfile created when we compile java source file and wht is it use and is java virtual machine use it for interpret
plz sir this is urgent?
from
 
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
pi is 3.14159 or pi is 3.14

The first statement is correct to 6 significant figures.
The second statement is correct to 3 significant figures.
This is precision.

Single precision Java variables are correct to about 7 significant figures.
Single precision Java variables are correct to about 16 significant figures.

More information is here:
http://babbage.cs.qc.edu/courses/cs341/IEEE-754references.html

The class files have your Java source program translated by the javac compiler into bytecode and detailed information about your classes. The jvm uses the class files to execute your program on the target machine.

You can learn all about class files, bytecode, and the jvm here:
http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic