Why 1.3/0.0 is not infinite

double x = 1.7 / 0.0;
i want to know the reason why 1.7/0.0 is not infinite

It is possible your milage may vary depending on your
processor and OS, possibly even your Java
implementation.Hopefully not, because the language specification says:
# If either operand is NaN, the result is NaN.
# If the result is not NaN, the sign of the result is positive if both operands have the same sign, negative if the operands have different signs.
# Division of an infinity by an infinity results in NaN.
# Division of an infinity by a finite value results in a signed infinity. The sign is determined by the rule stated above.
# Division of a finite value by an infinity results in a signed zero. The sign is determined by the rule stated above.
# Division of a zero by a zero results in NaN; division of zero by any other finite value results in a signed zero. The sign is determined by the rule stated above.
# Division of a nonzero finite value by a zero results in a signed infinity. The sign is determined by the rule stated above.
# In the remaining cases, where neither an infinity nor NaN is involved, the exact mathematical quotient is computed. A floating-point value set is then chosen:
* If the division expression is FP-strict (�15.4):
o If the type of the division expression is float, then the float value set must be chosen.
o If the type of the division expression is double, then the double value set must be chosen.
* If the division expression is not FP-strict:
o If the type of the division expression is float, then either the float value set or the float-extended-exponent value set may be chosen, at the whim of the implementation.
o If the type of the division expression is double, then either the double value set or the double-extended-exponent value set may be chosen, at the whim of the implementation.

Similar Messages

  • Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Sighhhh, wasted so much time yesterday and today going around Sony centre and then carphone warehouse. They told me to come back after Easter.
    I came home, banged the phone against the wall and it worked.
    Turned out that mic was working on loud speaker and when using headphones so I thought that the secondary mic is working and the main one (placed with the speakers) isn't. So I banged that part against the wall slightly (in plastic case to prevent scratches) then put the phone underwater, waited for it to dry and now it's working. Idk how well and if it's of perfect quality again but people can hear me well.

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Why does iPhoto 9.4.3 not recognise RAW files from a Pentax K3 camera?

    Why does iPhoto 9.4.3 not recognise RAW files from a Pentax K3 camera? It does from a K7.

    Because it requires Mavericks - http://support.apple.com/kb/ht5955
    OS X Mavericks provides system-level support for digital camera RAW formats from the following cameras.
    Supported by Digital Camera RAW Compatibility Update 5.04*
    Fujifilm X-E2
    Fujifilm X-T1
    Nikon D3300
    Nikon 1 AW1
    Panasonic LUMIX DMC-GM1
    Pentax K-3
    LN

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • Why are most of my keywords not included when I export images?

    Why are most of my keywords not included when I export images?
    Since starting with Lightroom 1, I've entered keywords into either of the two fields between "keyword tags" and "keyword suggestions" in the keywording panel.  I was unaware that some keywords are more equal than others, or that Lightroom offered (or has added?) hierarchy support.
    I recently stumbled into the news (to me) that Lightroom tags can be organized into a hierarchy, so I exported my keywords to a text file to examine.  I hadn't unwittingly created any hierarchies, but an astounding fraction of the keywords were within square brackets.  Sure enough, if I export an image, keywords within square brackets are omitted from the output (jpeg) file.  How nice.  Since I began with Lightroom 1, I've added nearly 1600 keywords.. Too bad most of them are coded wrong... so as not to accompany output that I create.
    1.     What was I supposed to do, as a photographer beginning to use Lightroom, to enter keywords simply but reliably:  what I type is what I get? I'd expected that's what the "just type here" interface would provide.
    I especially dislike obtaining erratic results:  most keywords are in square brackets, but a few are not.  Of course, when I use a simplified interface, I should expect not to have access to some of the options or features.  However, I shouldn't inadvertently trigger undocumented behavior.
    2.     Does the Adobe reference help system say how to enter keywords simply and reliably, in its documentation of the keywording panel? I don't find my answer under the Keywords topic, within Home / Using Photoshop Lightroom 3 / Organizing photos in the catalog.
    (I NOW realize that the instructions for the "Create/Edit keyword tags" dialog mention exporting. However, that's not the method I was using.)
    Dick Rawson

    I'm afraid that I distracted you with my background mention of hierarcharial keywords; I'm not asking about them.
    I've entered keywords for several years of using Lightroom.  Suddenly, this week, I find that most (yet not all) of them have the attribute of "don't include the keyword in an exported file's metadata."  I never intended to ask for that; I thought all keywords will stay with the file and its offspring, and that's what I wanted.
    So I'm asking:
    1.     What did I do "wrong" to induce Lightroom to give the keywords that attribute? I never intended to ask it to.
    2.     Where does Adobe document how to enter keywords reliably so that they stay with the file on output?  I can't find that Adobe does.
    > Can you be more clear about keywords in square brackets? I know when you export the keywords as a list you can get a normalized data file that uses punctuation and tabs as delimiters...
    I did export the keywords into such a list:  most keywords in the plain-text list have square brackets surrounding them, indicating keywords that will be omitted from metadata of any image that Lightroom exports.
    My concern is not that the brackets are there.  They encode the attribute of "don't include the keyword in an exported file's metadata," and recognizing that attribute concerns me.
    > ...but I've never seen keywords in image files or in the interface rendered so.
    I haven't, either.
    Dick Rawson

  • Why is my apple ID password not working on ipad2 after updating to iOS6?

    Why is my apple ID password not working after upgrading to iOS6?

    Who knows?
    Settings>iTunes and App Stores>Tap your ID and sign out. Reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Go back to the settings and sign back in again and see of it works now.
    If it doesn't work, post back with some information that might help us help you. Describe what you are doing in some detail and it might let us better understand why this is happening.

  • TS2988 I had to reset my phone and I only have one of my ringtones I had 4.. Why'd it delete 3 and not the last one and now I can't get em back without paying for them again!!! What the **** is up with that??

    I had to reset my phone and I only have one of my ringtones I had 4.. Why'd it delete 3 and not the last one and now I can't get em back without paying for them again!!! What the **** is up with that??

    Yup, your question and Diane's answer helped me also. Tho' I had had problems before getting into the iTunes store I always managed to find a way. Today they had me blocked cold with the "Update to 10" advert no matter what I did. Other questioners are being told, incorrectly as it turns out, that they have to update their OS to accomodate iTunes 10 and upgrade to iTunes 10. I did the download which did not take up much more room on my crowded old hard drive and now I'm back in business.

  • Why is my new apple password not fully working?

    Why is my new apple password not recognized when updating apps or trying to use Facetime on I-Pad 2? My new Apple password allows me to access my itunes account and download new apps, but I cannot update existing apps or use Facetime. Also, the new password is not recognized when trying to re-set my ipad 2.
    I also had much trouble setting up a new apple password. The information to do this was not sent to the email I use, but to another email of mine.
    Any help is appreciated. This is my first post.

    Please explain

  • HT201359 Why the ISTORE of Malta is not up to date with the latest movies and series like the UK & USA and why old movies are being uploaded .

    Why the ISTORE of Malta is not up to date with the latest movies and series like the UK & USA and why old movies are being uploaded .
    I believe the apple should be universal in all the products and a small island like Malts should have the same products for sale on ISTORE like of the UK and USA.

    The iTunes and App stores are inherently different in different countries.  Local laws on copyright and other limits on the distribution of intellectual property make it impossible for Apple to simply put everything in every store.  Sometimes, the owner of the intellectual property does not allow it to be distributed everywhere.  Keep in mind that Apple does not own the music, books, movies and such that they allow for sale in their store front, so they do not necessarily have any say in what may, or may not appear in what store.

  • Why in the layer options does not appear to me "video layers" why? help

    why in the layer options does not appear to me
    "video layers" why? help
    I need to encourage and not because my computer does not appear to me and others computers that has the same photoshop cc if that option appears. It would be helpful to know what thanks

    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, either get a sim card from the carrier your phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked

  • Why are some of my movies not syncing while others are? All of my movies are in m4v form, and some of them sync but some of them don't.

    Why are some of my movies not syncing while others are? All of my movies are in m4v form, and some of them sync but some of them don't. Also, when i try to play my movies on my mac AND ipod, some of my movies just randomly freeze and wont let me continue watching. I dont understand why its doing this.

    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod - http://support.apple.com/kb/TS1497

  • Why are some of my songs not in order in my albums?

    I was wondering why are some of my songs not in order in my albums? This wasn't a problem when I first used i-tunes, but I had to download a newer version of i-tunes to get my sister's ipod to work.  For Example my album "AC DC Live" has track #3 Back in Black as the first song listed.  How can this be fixed?

    Hello igho234,
    Thank you for contacting Apple Support Communities. You don't mention how those songs got onto your playlist, but this article may address your issue, if they were imported from a third-party application or CD.
    iOS: Songs or other audio content are skipped during playback
    http://support.apple.com/kb/TS3159
    Regards,
    Jeff D.

  • Why Does Live View In DW Not Work With BC Template?

    The live view using a BC template in DW CS6 shows "PAGE NOT FOUND" in the body section but the header and footer look fine. I should also point out that the index.htm page works fine, it's just the other pages that have this problem. What makes it weirder is that the site works fine in all other modes including when viewing in a normal browser, it's ONLY when in live view! I also noticed that if I delete the .htm extension in the url in the DW browser when in Live View it fixes the problem, but this requires me to do this everytime I want to switch to live view and surely is either a problem with how the BC template files are named or DW CS6 is buggy? Hopefully this is an easy one to answer??

    Hi Alex,
    Thanks for your reply, I have done a video demo at http://screencast.com/t/RsutrvoFn0xZ
    Date: Thu, 14 Feb 2013 05:49:55 -0800
    From: [email protected]
    To: [email protected]
    Subject: Why Does Live View In DW Not Work With BC Template?
        Re: Why Does Live View In DW Not Work With BC Template?
        created by Alex Pavelescu in Dreamweaver & Business Catalyst - View the full discussion
    Hi, Please provide the site url, and if you can, a video demo of the issue you're facing, using http://www.techsmith.com/jing.html, where you could also display the way you have your side setup ( Dreamweaver menu > Site > Site manager > http://screencast.com/t/GqqBk9MY4ck ) Kind Regards,Alex
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5072585#5072585
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5072585#5072585
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5072585#5072585. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver & Business Catalyst by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Why the basic finish date is not adjusted in planned orders

    Hi, all.
    Can anybody help me to understand:
    "Why the basic finish date is not adjusted in planned orders during
    forward scheduling, but in production order basic finish date is adjusted?
    It is look like non-coordination between groups of developers.
    And lead to situation, when planner don't see in MD04 when he can really wait material receipt. He must go to planed order and check production data there, it's unusable."
    Am I right, or SAP have it's own logic.

    Hi,
    Production orders are different story. Since production order is a constant element, they are not created in the course of MRP, basic dates can be adjusted. In production order basic finish date is adjusted, but you won't see for the upper level materials', basic dates of the planned orders adjusted according to the prodcution order you create. Production order is consistent within itself in terms of date and is not dependent to other elements of MRP, but planned orders are not like that.
    MRP creates planned orders whose basic finish dates are calculated by subtracting goods receipt time from production start date of the source of requirement. MRP works backwards without changing directions. Meanwhile if any production finish date is calculated different than the basic finish date due to forward scheduling, in order not to violate the alignment between the basic finish date and source of requirement's start date, basic finish date is not adjusted. If it was, dates of all the planned orders calculated so far at the upper levels of the BOMs had to be recalculated, otherwise all the consistency of all the dates is violated. This cannot be done because changes in any level affects all lower levels.

Maybe you are looking for

  • "this is not a valid PDF file" message when creating a new document?

    Every time i try and open a new document I get a message that says this is not a valid PDF file? Has anyone else recieved this message?

  • Problem in Updating data in  userdefined form in update mode

    Dear All, I have a userdefined  form of type Document. In another report form I have a link to this userdefined form through document number. When I click the link button I am opening the userdefined form  and filling  the corresponding document numb

  • Removing element from vector

    I am trying to remove an element from a Vector and using the ff code: Vector abc = getVector(); int index = 0; abc.removeElementAt(index); The element is not being removed, when i go back to check the number of elements in the vector, it is still the

  • Automate Account Reconciliations

    Is Cash Management the module to use to automate account reconciliations? Does the feature include reconciliation of accounts other than bank accounts, produce account logs, reference who is reconciling, handle 90+ day items etc?

  • [SOLVED] List of configuration files of a package.

    Some files belonging to a package are treated as configuration files (management of *.pacnew and *.pacsave). How can I have the list of files belonging to a package that pacman consider as configuration files? [Edited] @tomk: Thanks, didn't have in m