Question
Why allow cast(float) if it isn't supposed to work?

Answers

The floating point rules are such that transforming cast(real)cast(float) to cast(real) is a valid transformation. This is because the floating point rules are written with the following principle in mind:
An algorithm is invalid if it breaks if the floating point precision is increased. Floating point precision is always a minimum, not a maximum.
Programs that legitimately depended on maximum precision are:

compiler/library validation test suites
ones trying to programmatically test the precision


is not of value to user programming, and there are alternate ways to test the precision.
D has .properties that take care of that.

Programs that rely on a maximum accuracy need to be rethought and reengineered.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Is it possible to have an executable for the script that is made in Rational Robot? Is the script able to take arguements?
  • Q What are the Psychological Aspects of Fashion? Explain.
  • Q Explain what is Microstrategy Narrowcast server?
  • Q What are the New Job Postings from the Company or Organization, National Commission for Protection of Child Rights ?
  • Q What is the difference between mixed forest and temperate deciduous forest?
  • Q Juliet Gordon Low founded what in Savannah Georgia 1912
  • Q What are the different types of variances in invoices? describe them.
  • Q What was the name of the last silent movie made 1929
  • Q How do i use a startup class to initialize and later reference jms objects?
  • Q Irom sharmila belongs to
  • Q What is the .bas file in vb, and ehat is the corresponding file in c# for this file?