[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Fejl meddelelse NaN



Andreas Schou Vaerge wrote:

> Efter at have lavet et program i C++ er jeg løbet ind i et problem. Under
> udskrivning af resultaterne får jeg resultatet NaN, er der nogen der ved
> hvad det betyder?

NaN = Not a Number, du laver sikker et eller andet matematisk umuligt
ex. div med nul giver NaN

> Jeg har prøvet at kigge i 'man g++' og 'man libc' uden held.
> Det skal indskydes at fejlen opstår ved udskrift af variabler af typen
> double ved hjælp af cout.
>
> Jeg kan ikke give et stykke kode som eksempel, da jeg endnu ikke har fået
> indkredset problemet.
>
> --
> Andreas

--
        -Jacob Kolding, mailto://sslug@sslug

/*      Help freeing The Net from MS evil, Support Mozilla!     */
/*      http://www.mozilla.org/get-involved.html                */




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *