Cubed Root Bug in Calculator.app
Try this one on for size:
1. Open Calculator.app
2. Switch to Scientific mode
3. Enter 5 cubed
- You should get 125 - This is correct.
4. Now use the Shift key to find the cubed root
- You should get 5 as 5x5x5=125. However, Calculator.app produces a result of 4.999, ad infinitum.
I am pretty sure that this is just a result of floating point arithmetic so it probably is not going to be fixed, but I just thought it was funny.
-Brett
I am pretty sure that this is just a result of floating point arithmetic so it probably is not going to be fixed
Exactly. If you set Decimal Places to 14 in the View menu you will see the correct answer. The calculator is actually more accurate than 14 decimal places, but not enough to always show the correct 15th place.
Similar Messages
-
Calculator.app Version 4.5.3 (99.2) and Scientific Notation
I want to enter a number with scientific notation.
2.71e1 doesn't return 27.1, but rather 0.999...
It seems that Calculator.app is dividing by e.
This is not a common operation.
2.71E1 gives 27.1great! But ...
2.71E-1 does not return 0.271 neither does
2.71E(-1)
I have yet to figure out how to use negative exponents in Scientific notation.
This seems to be a bug in Calculator.app Version 4.5.3 (99.2)All my spaces were deleted.
Take two.
My input ======= Calculator
2 ============ 2
2. ============ 2.
2.7 =========== 2.7
2.7E ========== 2.7 E 0
2.7E- ========== 2.7 (and the small - subscript indicating a negative number)
2.7E-1 ========= 1 (and the small - subscript indicating a negative number)
Now hitting enter === 1.7 (it appears to have subtracted 1 from 2.7)
Do our version of Calculator match?
Thanks for being interested. -
Can't enter a negative number in Q5 unit converter app (part of calculator app)
I wanted to conver a temperature of -20F to celcius and was stymied by being unable to enter a minus sign. I tried every conceivable key combination without success. This bug wasn't fixed in the recent update of the calculator app.
i was able to add in -40 on my Z10 and Q10 for F in temp conversion
sorry i dont have a Q5 to test it on
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
BESAdmin's, please make a signature with your BES environment info.
SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
Want to thank me? Buy my KnottyRope App here
BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V -
Calculator app not working in latest installed windows 10 enterprise technical preview
I am not able to start calculator. I tried to run using "calc" command as well as from app menu. But its not getting executed.
Please suggest solution for this. Is this for all ?Same here, seems to be with a large number of W10TP users (see Windows Feedback). The calculator was reportedly redesigned for Build 9926 so this looks like a pretty significant bug. I installed a 3rd party calculator app from the Windows Store.
You can't unpin or uninstall the stock calculator icon from Start menu so I just ignore it. -
How do I change the context-root of a web app with a deployment plan?
I've been trying to figure this out for several hours.
I'm deploying a .ear file which sets the context root for the single web application it deploys in its application.xml deployment descriptor:
<application>
<display-name>MyApp</display-name>
<module>
<web>
<web-uri>MyAppViewControler.war</web-uri>
<context-root>MyApp</context-root>
</web>
</module>
</application>
I want to change the context-root from /MyApp to something else when deploying the ear file. It seemed to me that using a deployment plan was the way to do this. But when I use this plan:
<deployment-plan>
<application-name>MyApp<application-name>
<variable-definition>
<variable>
<name>NEWCONTEXTROOT</name>
<value>foobar</value>
</variable>
</variable-definition>
<module-override>
<module-name>MyApp</module-name>
<module-type>ear</module-type>
<module-descriptor external="false">
<root-element>application</root-element>
<uri>META-INF/application.xml</uri>
<variable-assignment>
<name>NEWCONTEXTROOT</name>
<xpath>/application/module/web/context-root</xpath>
</variable-assignment>
</module-descriptor>
</module-override>
</deployment-plan>
I get an error:
weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
/bea/user_projects/domains/devod1/nullplan.xml:0: problem: cvc-complex-type.2.4a: Expected element 'web-uri@http://java.sun.com/xml/ns/javaee' instead of 'context-root@http://java.sun.com/xml/ns/javaee' here in element web@http://java.sun.com/xml/ns/javaee:<nullplan.xml>
I looked at http://e-docs.bea.com/wls/docs103/pdf/deployment.pdf which says:
"You cannot use a deployment plan to change the context-root in an application.xml
file. However, if an application is deployed as a library, you can either change the
context-root through an weblogic-application.xml file or use the deployment plan
to change the context-root in an weblogic-application.xml file."
I don't understand what this means. I'm not deploying my application as a library.
Does anyone know how to change the context-root for an application?
Any help would be greatly appreciated!Hi James,
I am quite new to Welogic if i am wrong please correct me.I have re-deployed my application (.war) with this Plan.xml
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
<application-name>BrowserR08.003</application-name>
*<variable-definition>*
* <variable>*
* <name>CONTEXTROOT</name>*
* <value>BrowserWeb/servlet/BrowserServlet</value>*
* </variable>*
* </variable-definition>*
<module-override>
<module-name>BrowserWeb.war</module-name>
<module-type>war</module-type>
<module-descriptor external="true">
<root-element>weblogic-web-app</root-element>
<uri>WEB-INF/weblogic.xml</uri>
<hash-code>1231953167814</hash-code>
*<variable-assignment>*
* <name>CONTEXTROOT</name>*
* <xpath>/weblogic-web-app/context-root</xpath>*
* <operation>add</operation>*
* </variable-assignment>*
</module-descriptor>
<module-descriptor external="false">
<root-element>web-app</root-element>
<uri>WEB-INF/web.xml</uri>
</module-descriptor>
<module-descriptor external="true">
<root-element>wldf-resource</root-element>
<uri>META-INF/weblogic-diagnostics.xml</uri>
</module-descriptor>
</module-override>
<config-root>/export/home1/tecapp/BrowserR08.003/plan</config-root>
</deployment-plan>
I do not know wether i will require the other module descriptor definition in this Plzn.xml. Now when I go to following link.
Deployments --> MyApp --> Testing
It gives me following url as a test page:
http://localhost:7001/BrowserWeb/servlet/BrowserServlet
as soon as i click on to the above link it redirects me to following.
http://localhost:7001/BrowserWeb/servlet/BrowserServlet/servlet/BrowserServlet
Same if i remove these context-root part my normal Testing menu shows me following link as my webapp access path
http://localhost:7001/BrowserWeb <-- My war file name is BrowserWeb.war so it is default name of my deployed application if i am not wrong
and as soon as i click on above link it redirects me to the following one.
http://localhost:7001/BrowserWeb/servlet/BrowserServlet
It means application server know that my full web access page is with '*servlet/BrowserServlet*' because its adding it in both the cases.
What I want is a constant URL whcih does not change?
Hope this helps :) -
I've a "bug" with the apps downloading. This one stops at the end and stays like that infinite. The app doesn't appears normally on the homescreen. The app is on the home screen, and its downloading is blocked at its end, without showing the app like it should when it's finished downloadung. Does someone can help me and fix this please?
Hi Tom
Thanks for replying!
I had heard that these switches didn't stack unless everything was identical.
I only tried it at all out of pure desperation.
I've applied and tested every version 3 firmware in standalone mode via a console cable and xmodem.
They either never come up properly receiving decompression errors and reboot constantly in a loop.
Occasionally they stall / jam and stay there displaying the same error with no rebooting.
And twice out of 80-100 times I got it to boot to the username and password screen in standalone mode.
But as soon as I made a change it crashed and started the rebooting cycle again. -
Is anyone experiencing a bug in mail app in iOS 7 ?
I'm experiencing a bug in mail app in iPhone as well as in my iPad... This bug makes all my mails unread whenever I refresh for mails and whenever I read a new mail it stays unread even if a close the app. Please help me if possible...
I've not heard of or experience any such issue.
Have you tried removing and readding the accounts in question? -
I purchased an app from the Mac App Store to download the "Holy Bible Audio Book" to my iMac. It worked the first day, then stopped working afterwards. It said failed download and there was no audio. I emailed the seller and still waiting for response. I finally saw one review regarding a bug in the app download. Should I call my credit card company to dispute this purchase? Or wait for the seller respond? This is the first time I make a purchase and don't expect this happen.
From what I can see, the app is free so there should be no action on your credit card ... with one possible exception. If this was your first purchase you may have had a temporary authorisation charge applied. It will be removed in a few days. See this document http://support.apple.com/kb/HT3702
Insofar as the failed download is concerned, download it again and if it fails again contact the developer. -
Why Apple does not ship the iPad/iPad2 with a simple calculator app?
I just wonder what are the rationales, if any, behind the exclusion of a calculator app from iPad.
Barbara Brundage wrote:
None of us can tell you why apple does or doesn't do anything--we're just other users like you. But there are a number of decent free calculator apps you can get from the app store. I use Calculator XL.
Before I retired one of the projects I worked on was the HP-41CX--I designed and programmed the logic board tester--so when I purchased my iPhone I was quite pleased to see that a very good emulator for the 41CX was available from the app store.
Prior to finding the emulator I had tried several of the free calculators and found them all insufficient for one reason or another. Links to i41CX below.
without printer support:
http://itunes.apple.com/us/app/i41cx-rpn-calculator/id292619450?mt=8
with printer support:
http://itunes.apple.com/us/app/i41cx-rpn-calculator-printer/id289068865?mt=8
Of course if you don't like RPN... -
Document type declaration for root element type "web-app" must end with ' '
I am attempting to deploy an application (.war file) using the Sun Access Manager Agent installed, (Reference http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view -near the bottom) and I get this error:
Error loading deployment descriptors for ajacs Line 3 Column 19 -- The document type declaration for root element type "web-app" must end with '>'.
Here is the relavent code:
<!DOCTYPE web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<web-app>
<filter>
<filter-name>Agent</filter-name>
<filter-class> com.sun.identity.agents.filter.AmAgentFilter </filter-class>
</filter>
<filter-mapping>
<filter-name>Agent</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<display-name>AJACS</display-name>
<welcome-file-list>
<welcome-file>frameSet.jsp</welcome-file>
</welcome-file-list>
etc...
Now, when I remove the parts that http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view said to add, it deploys just like it used to deploy- just fine with no errors. However, I add that code and it breaks.
Note: The code was a straight copy/paste, so if there is any error in the code, it is because it's written incorrectly on the Sun doc website.
Any help would be MUCH appreciated. Thanks!Well, if that was pasted on one line, it would be:
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
So it's supposed to be that way. I just tried it with the extra quotes, and no dice... -
Where do I find the stock weather and calculator apps in ios 7?
I just upgraded to iOS 7. How do I access the stock weather and calculator apps?
There aren't built-in Weather and Calculator apps on iPads
-
I am using Xcode 5 to make a calculator app and I cannot figure out how to do two things.
So I am using Xcode 5 to make a calculator app and I cannot figure out how to two do two things. First, how to incorporate the decimal and two, how to make the positive to negative button. The app is only for the iPad. I would like to know how to do it asap. Here is the code I used for addition if that helps.
-(IBAction)Addition:(id)sender;{
if (RunningTotal == 0){
RunningTotal = SelectNumber;
else{
switch (Method) {
case 1:
RunningTotal = RunningTotal * SelectNumber;
break;
case 2:
RunningTotal = RunningTotal / SelectNumber;
break;
case 3:
RunningTotal = RunningTotal - SelectNumber;
break;
case 4:
RunningTotal = RunningTotal + SelectNumber;
break;
default:
break;
Method= 4;
SelectNumber= 0;sorry i just saw the search feature and found a few of the same questions. I will check those
-
Numbers 3 has bugs in calculations.
Hi,
Numbers 3 has bugs in calculations. And I do not mean rounding errors. I mean plain wrong. How can I get back to my older version? I have a time machine backup.
Thanks,
GerdHi Gerd,
I opened the document and here is what I get. As you can see, it doesn't seem to be a Numbers bug.
I see you have the data format for the first row of the Jährliches Budget nach Monaten table set to Automatic and the format for the Monat column as a pop-up. You could try changing the data format for the first row of the Jährliches Budget nach Monaten table to a pop-up (and add the same pop-up list as you have in the yada table) and see if that helps.
Or maybe it's related somehow to your Language & Region preferences (System Preferences>Language & Region>Advanced>Dates.... Mine are like this and it's possible Numbers 3 is too fussy about what it expects.
SG -
Question RE: Button Items and Item Buttons - from "Bug Tracker" Demo app
I've retrieved and installed the "Bug Tracker" Demo app from apex.oracle.com and installed it in my space as I've interest in recreating the custom search bars this application contains (I can't use interactive reports because it appears a bug prevents the ability to remove the "hide column" functionality which is a requirement for me).
I'm perplexed with how the developer of this demo app was able to create an item of type "button" (not normally available as an item type when creating items) and how buttons were created with the sequence value of "Item" versus a sequence number.
How do these interact?
I'm a fairly new developer and as these methodologies are not readily apparent with 3.2's "normal" functionality, I'm quite intrigued to understand how this was accomplished.
I've been looking at this demo app for 2 days in hopes of learning this on my own - still at it but not there yet. Any help you kind folks can provide would be certainly appreciated!
Thanks!
PaulDan, thanks for the reply!
I actually figured this out shortly after submitting this post (and confirmed by your post). I had never used a button as "Create a button displayed among this region's items" (versus "Create a button in a region position") before. That apparently is the difference.
My inexperience simply did not allow me to recognize the difference in how apex treats how buttons are created given this choice differentiation.
One more notch in the belt! -
Square root formula in Calculated Characteristics
Have a great days.
There are two MIC in my inspection plan. first (0010) is for entering number and another (0020) is calculated characteristics. I want to calculate the square root of 0010 charateristics in 0020.
What should be teh formula to put in 0020 char.
Please guide. thanks in advance.
Regards,
Dipesh Bhavsar
Edited by: dipeshbhavsar1982 on Jul 31, 2011 9:41 AMHI
0020 MIC should be created with control indicator for formula tab(calc.characteristic)
and in quality plan assign the first MIC as normal
and assign second MIC then system will ask a formula ...
there you can give the formula in terms of character
example (0010)2
Faisal
Maybe you are looking for
-
Fake aiff and real aiff from wav ?
1) When in garageband if I just batch convert an entire folder of wav to aiff with Apple loop utility even if all the wav loops have different tempo and key all will have one meta data or information which will not hold true for all loops.....so isnt
-
I don't know what to do. I plugged that USB in both ports but the same message came out. I charged my laptop and the same thing happened again. The surprising thing is that I tried plugging the USB in my cousins laptop (Macbook Pro) and it worked!!!
-
I didn't see any forum that was directed toward external hard drives... Im looking to get either a Seagate 1TB external hard drive or a Western Digital 1TB hard drive. I currently have a 500 GB seagate HD but I need more space for back up. Any sugges
-
Hi, I have to add bookmark in pdf file, i tried so many ways. But no use. i have a PDf with full text information, i want to add few text (Some words with in the PDF) from the content and need to add them in bookmark. i know i can add manulay but my
-
ORA-01102 unable to mount the database in exclisive mode
Hi ! My system run on oracle 10g R2 Windows 32 bit and I have configured 2 databases in data guard on the same computer. The primary database "smartbk" start very well but the standby database is not able to mount; when I issued the startup mount com