• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
nan.h
Go to the documentation of this file.
1 /***************************************************************************
2  nan.h - K Desktop Planetarium
3  -------------------
4  begin : Sat 16 Mar 2013 17:50:49 CDT
5  copyright : (c) 2013 by Akarsh Simha
6  email : akarsh.simha@kdemail.net
7 ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 
19 
20 #ifndef NAN_H
21 #define NAN_H
22 
23 #include<limits>
24 
25 // The way of doing this in C++ 11. Leaving it here for purposes of
26 #if 0
27 namespace NaN {
28  constexpr double d = std::numeric_limits::quiet_NaN();
29  constexpr float f = std::numeric_limits<float>::quiet_NaN();
30  constexpr long double ld = std::numeric_limits<long double>::quiet_NaN();
31 }
32 #endif
33 
34 namespace NaN {
35  const double d = std::numeric_limits<double>::quiet_NaN();
36  const float f = std::numeric_limits<float>::quiet_NaN();
37  const long double ld = std::numeric_limits<long double>::quiet_NaN();
38 }
39 
40 #endif
NaN::f
const float f
Definition: nan.h:36
NaN::d
const double d
Definition: nan.h:35
NaN::ld
const long double ld
Definition: nan.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal