amath  1.8.5
Simple command line calculator
NonNumber Struct Reference

Represent a number which does not exists. More...

#include <nnumb.h>

Inheritance diagram for NonNumber:
Collaboration diagram for NonNumber:

Public Member Functions

 NonNumber (NonNumberType type)
 
 ~NonNumber ()
 
NumberClone ()
 
int GetIntegerValue ()
 
double GetRealValue ()
 
bool PureComplexValue ()
 
int GetPrecedence ()
 
int GetDefaultPrecedence ()
 
bool IsNegative ()
 
bool IsZero ()
 
bool IsNaN ()
 
bool IsInfinite ()
 
bool IsNotImplemented ()
 
NumberUnary ()
 
NumberAdd (Number *other)
 
NumberSub (Number *other)
 
NumberMul (Number *other)
 
NumberDiv (Number *other)
 
NumberRaise (Number *exponent)
 
NumberSignum ()
 
NumberTrunc ()
 
NumberRound ()
 
NumberFloor ()
 
NumberCeiling ()
 
NumberAbsolute ()
 
NumberSquareRoot ()
 
NumberCubeRoot ()
 
NumberReciprocal ()
 
NumberFactorial ()
 
NumberLog ()
 
NumberLog2 ()
 
NumberLog10 ()
 
NumberSine ()
 
NumberCosine ()
 
NumberTangent ()
 Trigonometric tangent function. More...
 
NumberCosecant ()
 
NumberSecant ()
 
NumberCotangent ()
 
NumberChord ()
 
NumberExSecant ()
 
NumberExCosecant ()
 
NumberArcSine ()
 
NumberArcCosine ()
 
NumberArcTangent ()
 
NumberArcCosecant ()
 
NumberArcSecant ()
 
NumberArcCotangent ()
 
NumberArcExSecant ()
 
NumberArcExCosecant ()
 
NumberArcChord ()
 
NumberHypSine ()
 
NumberHypCosine ()
 
NumberHypTangent ()
 
NumberHypCosecant ()
 
NumberHypSecant ()
 
NumberHypCotangent ()
 
NumberHypArcSine ()
 
NumberHypArcCosine ()
 
NumberHypArcTangent ()
 
NumberHypArcCosecant ()
 
NumberHypArcSecant ()
 
NumberHypArcCotangent ()
 
NumberVerSine ()
 
NumberVerCosine ()
 
NumberCoVerSine ()
 
NumberCoVerCosine ()
 
NumberHaVerSine ()
 
NumberHaVerCosine ()
 
NumberHaCoVerSine ()
 
NumberHaCoVerCosine ()
 
NumberArcVerSine ()
 
NumberArcVerCosine ()
 
NumberArcCoVerSine ()
 
NumberArcCoVerCosine ()
 
NumberArcHaVerSine ()
 
NumberArcHaVerCosine ()
 
NumberArcHaCoVerSine ()
 
NumberArcHaCoVerCosine ()
 
- Public Member Functions inherited from Number
 Number (NumberSystem system)
 
virtual ~Number ()
 

Private Attributes

NonNumberType type
 

Additional Inherited Members

- Protected Attributes inherited from Number
NumberSystem system
 

Detailed Description

Represent a number which does not exists.

Definition at line 51 of file nnumb.h.

Constructor & Destructor Documentation

◆ NonNumber()

NonNumber::NonNumber ( NonNumberType  type)
explicit

Definition at line 33 of file nnumb.cpp.

References nsysreal, Number::Number(), and type.

Referenced by Absolute(), ComplexNumber::Add(), RealNumber::Add(), Add(), ComplexNumber::ArcChord(), ArcChord(), RealNumber::ArcCosecant(), ArcCosecant(), ArcCosine(), RealNumber::ArcCotangent(), ArcCotangent(), ComplexNumber::ArcCoVerCosine(), RealNumber::ArcCoVerCosine(), ArcCoVerCosine(), ComplexNumber::ArcCoVerSine(), RealNumber::ArcCoVerSine(), ArcCoVerSine(), ComplexNumber::ArcExCosecant(), ArcExCosecant(), ComplexNumber::ArcExSecant(), ArcExSecant(), ComplexNumber::ArcHaCoVerCosine(), RealNumber::ArcHaCoVerCosine(), ArcHaCoVerCosine(), ComplexNumber::ArcHaCoVerSine(), RealNumber::ArcHaCoVerSine(), ArcHaCoVerSine(), ComplexNumber::ArcHaVerCosine(), RealNumber::ArcHaVerCosine(), ArcHaVerCosine(), RealNumber::ArcHaVerSine(), ComplexNumber::ArcHaVerSine(), ArcHaVerSine(), ArcSecant(), RealNumber::ArcSecant(), ArcSine(), ArcTangent(), ComplexNumber::ArcVerCosine(), RealNumber::ArcVerCosine(), ArcVerCosine(), RealNumber::ArcVerSine(), ComplexNumber::ArcVerSine(), ArcVerSine(), Ceiling(), ComplexNumber::Chord(), Chord(), Clone(), RealNumber::Cosecant(), Cosecant(), Cosine(), RealNumber::Cotangent(), Cotangent(), ComplexNumber::CoVerCosine(), CoVerCosine(), ComplexNumber::CoVerSine(), CoVerSine(), CubeRoot(), ComplexNumber::Div(), RealNumber::Div(), Div(), ComplexNumber::ExCosecant(), ExCosecant(), ComplexNumber::ExSecant(), ExSecant(), RealNumber::Factorial(), ComplexNumber::Factorial(), Factorial(), Floor(), ComplexNumber::HaCoVerCosine(), HaCoVerCosine(), ComplexNumber::HaCoVerSine(), HaCoVerSine(), ComplexNumber::HaVerCosine(), HaVerCosine(), ComplexNumber::HaVerSine(), HaVerSine(), RealNumber::HypArcCosecant(), HypArcCosecant(), HypArcCosine(), RealNumber::HypArcCotangent(), HypArcCotangent(), RealNumber::HypArcSecant(), HypArcSecant(), HypArcSine(), HypArcTangent(), RealNumber::HypCosecant(), HypCosecant(), HypCosine(), RealNumber::HypCotangent(), HypCotangent(), RealNumber::HypSecant(), HypSecant(), HypSine(), HypTangent(), ComplexNumber::Log(), RealNumber::Log(), Log(), RealNumber::Log10(), ComplexNumber::Log10(), Log10(), RealNumber::Log2(), ComplexNumber::Log2(), Log2(), ComplexNumber::Mul(), RealNumber::Mul(), Mul(), RealNumber::Raise(), ComplexNumber::Raise(), Raise(), RealNumber::Reciprocal(), Reciprocal(), Round(), RealNumber::Secant(), Secant(), Signum(), Sine(), SquareRoot(), RealNumber::Sub(), ComplexNumber::Sub(), Sub(), Tangent(), Trunc(), Unary(), ComplexNumber::VerCosine(), VerCosine(), ComplexNumber::VerSine(), and VerSine().

33  :
35 {
36  this->type = type;
37 }
Number(NumberSystem system)
Definition: numb.h:69
NonNumberType type
Definition: nnumb.h:142
Definition: numb.h:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~NonNumber()

NonNumber::~NonNumber ( )

Definition at line 39 of file nnumb.cpp.

40 {
41 }

Member Function Documentation

◆ Absolute()

Number * NonNumber::Absolute ( )
virtual

Implements Number.

Definition at line 153 of file nnumb.cpp.

References NonNumber(), and type.

154 {
155  return new NonNumber(type);
156 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Add()

Number * NonNumber::Add ( Number other)
virtual

Implements Number.

Definition at line 103 of file nnumb.cpp.

References NonNumber(), and type.

104 {
105  return new NonNumber(type);
106 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcChord()

Number * NonNumber::ArcChord ( )
virtual

Implements Number.

Definition at line 297 of file nnumb.cpp.

References NonNumber(), and type.

298 {
299  return new NonNumber(type);
300 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcCosecant()

Number * NonNumber::ArcCosecant ( )
virtual

Implements Number.

Definition at line 292 of file nnumb.cpp.

References NonNumber(), and type.

293 {
294  return new NonNumber(type);
295 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcCosine()

Number * NonNumber::ArcCosine ( )
virtual

Implements Number.

Definition at line 267 of file nnumb.cpp.

References NonNumber(), and type.

268 {
269  return new NonNumber(type);
270 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcCotangent()

Number * NonNumber::ArcCotangent ( )
virtual

Implements Number.

Definition at line 282 of file nnumb.cpp.

References NonNumber(), and type.

283 {
284  return new NonNumber(type);
285 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcCoVerCosine()

Number * NonNumber::ArcCoVerCosine ( )
virtual

Implements Number.

Definition at line 387 of file nnumb.cpp.

References NonNumber(), and type.

388 {
389  return new NonNumber(type);
390 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcCoVerSine()

Number * NonNumber::ArcCoVerSine ( )
virtual

Implements Number.

Definition at line 382 of file nnumb.cpp.

References NonNumber(), and type.

383 {
384  return new NonNumber(type);
385 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcExCosecant()

Number * NonNumber::ArcExCosecant ( )
virtual

Implements Number.

Definition at line 427 of file nnumb.cpp.

References NonNumber(), and type.

428 {
429  return new NonNumber(type);
430 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcExSecant()

Number * NonNumber::ArcExSecant ( )
virtual

Implements Number.

Definition at line 422 of file nnumb.cpp.

References NonNumber(), and type.

423 {
424  return new NonNumber(type);
425 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcHaCoVerCosine()

Number * NonNumber::ArcHaCoVerCosine ( )
virtual

Implements Number.

Definition at line 407 of file nnumb.cpp.

References NonNumber(), and type.

408 {
409  return new NonNumber(type);
410 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcHaCoVerSine()

Number * NonNumber::ArcHaCoVerSine ( )
virtual

Implements Number.

Definition at line 402 of file nnumb.cpp.

References NonNumber(), and type.

403 {
404  return new NonNumber(type);
405 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcHaVerCosine()

Number * NonNumber::ArcHaVerCosine ( )
virtual

Implements Number.

Definition at line 397 of file nnumb.cpp.

References NonNumber(), and type.

398 {
399  return new NonNumber(type);
400 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcHaVerSine()

Number * NonNumber::ArcHaVerSine ( )
virtual

Implements Number.

Definition at line 392 of file nnumb.cpp.

References NonNumber(), and type.

393 {
394  return new NonNumber(type);
395 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcSecant()

Number * NonNumber::ArcSecant ( )
virtual

Implements Number.

Definition at line 272 of file nnumb.cpp.

References NonNumber(), and type.

273 {
274  return new NonNumber(type);
275 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcSine()

Number * NonNumber::ArcSine ( )
virtual

Implements Number.

Definition at line 287 of file nnumb.cpp.

References NonNumber(), and type.

288 {
289  return new NonNumber(type);
290 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcTangent()

Number * NonNumber::ArcTangent ( )
virtual

Implements Number.

Definition at line 277 of file nnumb.cpp.

References NonNumber(), and type.

278 {
279  return new NonNumber(type);
280 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcVerCosine()

Number * NonNumber::ArcVerCosine ( )
virtual

Implements Number.

Definition at line 377 of file nnumb.cpp.

References NonNumber(), and type.

378 {
379  return new NonNumber(type);
380 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ArcVerSine()

Number * NonNumber::ArcVerSine ( )
virtual

Implements Number.

Definition at line 372 of file nnumb.cpp.

References NonNumber(), and type.

373 {
374  return new NonNumber(type);
375 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Ceiling()

Number * NonNumber::Ceiling ( )
virtual

Implements Number.

Definition at line 148 of file nnumb.cpp.

References NonNumber(), and type.

149 {
150  return new NonNumber(type);
151 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Chord()

Number * NonNumber::Chord ( )
virtual

Implements Number.

Definition at line 222 of file nnumb.cpp.

References NonNumber(), and type.

223 {
224  return new NonNumber(type);
225 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Clone()

Number * NonNumber::Clone ( )
virtual

Implements Number.

Definition at line 43 of file nnumb.cpp.

References NonNumber(), and type.

44 {
45  return new NonNumber(type);
46 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Cosecant()

Number * NonNumber::Cosecant ( )
virtual

Implements Number.

Definition at line 262 of file nnumb.cpp.

References NonNumber(), and type.

263 {
264  return new NonNumber(type);
265 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Cosine()

Number * NonNumber::Cosine ( )
virtual

Implements Number.

Definition at line 193 of file nnumb.cpp.

References NonNumber(), and type.

194 {
195  return new NonNumber(type);
196 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Cotangent()

Number * NonNumber::Cotangent ( )
virtual

Implements Number.

Definition at line 217 of file nnumb.cpp.

References NonNumber(), and type.

218 {
219  return new NonNumber(type);
220 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ CoVerCosine()

Number * NonNumber::CoVerCosine ( )
virtual

Implements Number.

Definition at line 347 of file nnumb.cpp.

References NonNumber(), and type.

348 {
349  return new NonNumber(type);
350 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ CoVerSine()

Number * NonNumber::CoVerSine ( )
virtual

Implements Number.

Definition at line 342 of file nnumb.cpp.

References NonNumber(), and type.

343 {
344  return new NonNumber(type);
345 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ CubeRoot()

Number * NonNumber::CubeRoot ( )
virtual

Implements Number.

Definition at line 163 of file nnumb.cpp.

References NonNumber(), and type.

164 {
165  return new NonNumber(type);
166 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Div()

Number * NonNumber::Div ( Number other)
virtual

Implements Number.

Definition at line 118 of file nnumb.cpp.

References NonNumber(), and type.

119 {
120  return new NonNumber(type);
121 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ExCosecant()

Number * NonNumber::ExCosecant ( )
virtual

Implements Number.

Definition at line 417 of file nnumb.cpp.

References NonNumber(), and type.

418 {
419  return new NonNumber(type);
420 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ ExSecant()

Number * NonNumber::ExSecant ( )
virtual

Implements Number.

Definition at line 412 of file nnumb.cpp.

References NonNumber(), and type.

413 {
414  return new NonNumber(type);
415 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Factorial()

Number * NonNumber::Factorial ( )
virtual

Implements Number.

Definition at line 173 of file nnumb.cpp.

References NonNumber(), and type.

174 {
175  return new NonNumber(type);
176 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Floor()

Number * NonNumber::Floor ( )
virtual

Implements Number.

Definition at line 143 of file nnumb.cpp.

References NonNumber(), and type.

144 {
145  return new NonNumber(type);
146 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ GetDefaultPrecedence()

int NonNumber::GetDefaultPrecedence ( )
virtual

Implements Number.

Definition at line 68 of file nnumb.cpp.

69 {
70  return 0;
71 }

◆ GetIntegerValue()

int NonNumber::GetIntegerValue ( )
virtual

Implements Number.

Definition at line 48 of file nnumb.cpp.

49 {
50  return 0;
51 }

◆ GetPrecedence()

int NonNumber::GetPrecedence ( )
virtual

Implements Number.

Definition at line 63 of file nnumb.cpp.

64 {
65  return 0;
66 }

◆ GetRealValue()

double NonNumber::GetRealValue ( )
virtual

Implements Number.

Definition at line 53 of file nnumb.cpp.

54 {
55  return 0.0;
56 }

◆ HaCoVerCosine()

Number * NonNumber::HaCoVerCosine ( )
virtual

Implements Number.

Definition at line 367 of file nnumb.cpp.

References NonNumber(), and type.

368 {
369  return new NonNumber(type);
370 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HaCoVerSine()

Number * NonNumber::HaCoVerSine ( )
virtual

Implements Number.

Definition at line 362 of file nnumb.cpp.

References NonNumber(), and type.

363 {
364  return new NonNumber(type);
365 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HaVerCosine()

Number * NonNumber::HaVerCosine ( )
virtual

Implements Number.

Definition at line 357 of file nnumb.cpp.

References NonNumber(), and type.

358 {
359  return new NonNumber(type);
360 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HaVerSine()

Number * NonNumber::HaVerSine ( )
virtual

Implements Number.

Definition at line 352 of file nnumb.cpp.

References NonNumber(), and type.

353 {
354  return new NonNumber(type);
355 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcCosecant()

Number * NonNumber::HypArcCosecant ( )
virtual

Implements Number.

Definition at line 317 of file nnumb.cpp.

References NonNumber(), and type.

318 {
319  return new NonNumber(type);
320 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcCosine()

Number * NonNumber::HypArcCosine ( )
virtual

Implements Number.

Definition at line 302 of file nnumb.cpp.

References NonNumber(), and type.

303 {
304  return new NonNumber(type);
305 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcCotangent()

Number * NonNumber::HypArcCotangent ( )
virtual

Implements Number.

Definition at line 327 of file nnumb.cpp.

References NonNumber(), and type.

328 {
329  return new NonNumber(type);
330 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcSecant()

Number * NonNumber::HypArcSecant ( )
virtual

Implements Number.

Definition at line 307 of file nnumb.cpp.

References NonNumber(), and type.

308 {
309  return new NonNumber(type);
310 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcSine()

Number * NonNumber::HypArcSine ( )
virtual

Implements Number.

Definition at line 312 of file nnumb.cpp.

References NonNumber(), and type.

313 {
314  return new NonNumber(type);
315 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypArcTangent()

Number * NonNumber::HypArcTangent ( )
virtual

Implements Number.

Definition at line 322 of file nnumb.cpp.

References NonNumber(), and type.

323 {
324  return new NonNumber(type);
325 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypCosecant()

Number * NonNumber::HypCosecant ( )
virtual

Implements Number.

Definition at line 232 of file nnumb.cpp.

References NonNumber(), and type.

233 {
234  return new NonNumber(type);
235 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypCosine()

Number * NonNumber::HypCosine ( )
virtual

Implements Number.

Definition at line 237 of file nnumb.cpp.

References NonNumber(), and type.

238 {
239  return new NonNumber(type);
240 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypCotangent()

Number * NonNumber::HypCotangent ( )
virtual

Implements Number.

Definition at line 252 of file nnumb.cpp.

References NonNumber(), and type.

253 {
254  return new NonNumber(type);
255 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypSecant()

Number * NonNumber::HypSecant ( )
virtual

Implements Number.

Definition at line 242 of file nnumb.cpp.

References NonNumber(), and type.

243 {
244  return new NonNumber(type);
245 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypSine()

Number * NonNumber::HypSine ( )
virtual

Implements Number.

Definition at line 227 of file nnumb.cpp.

References NonNumber(), and type.

228 {
229  return new NonNumber(type);
230 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ HypTangent()

Number * NonNumber::HypTangent ( )
virtual

Implements Number.

Definition at line 247 of file nnumb.cpp.

References NonNumber(), and type.

248 {
249  return new NonNumber(type);
250 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ IsInfinite()

bool NonNumber::IsInfinite ( )
virtual

Implements Number.

Definition at line 88 of file nnumb.cpp.

References nnninf, and type.

89 {
90  return type == nnninf;
91 }
Definition: nnumb.h:44
NonNumberType type
Definition: nnumb.h:142

◆ IsNaN()

bool NonNumber::IsNaN ( )
virtual

Implements Number.

Definition at line 83 of file nnumb.cpp.

References nnnan, and type.

84 {
85  return type == nnnan;
86 }
Definition: nnumb.h:42
NonNumberType type
Definition: nnumb.h:142

◆ IsNegative()

bool NonNumber::IsNegative ( )
virtual

Implements Number.

Definition at line 73 of file nnumb.cpp.

74 {
75  return false;
76 }

◆ IsNotImplemented()

bool NonNumber::IsNotImplemented ( )
virtual

Implements Number.

Definition at line 93 of file nnumb.cpp.

References nnnimp, and type.

94 {
95  return type == nnnimp;
96 }
NonNumberType type
Definition: nnumb.h:142
Definition: nnumb.h:45

◆ IsZero()

bool NonNumber::IsZero ( )
virtual

Implements Number.

Definition at line 78 of file nnumb.cpp.

79 {
80  return false;
81 }

◆ Log()

Number * NonNumber::Log ( )
virtual

Implements Number.

Definition at line 183 of file nnumb.cpp.

References NonNumber(), and type.

184 {
185  return new NonNumber(type);
186 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Log10()

Number * NonNumber::Log10 ( )
virtual

Implements Number.

Definition at line 188 of file nnumb.cpp.

References NonNumber(), and type.

189 {
190  return new NonNumber(type);
191 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Log2()

Number * NonNumber::Log2 ( )
virtual

Implements Number.

Definition at line 178 of file nnumb.cpp.

References NonNumber(), and type.

179 {
180  return new NonNumber(type);
181 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Mul()

Number * NonNumber::Mul ( Number other)
virtual

Implements Number.

Definition at line 113 of file nnumb.cpp.

References NonNumber(), and type.

114 {
115  return new NonNumber(type);
116 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ PureComplexValue()

bool NonNumber::PureComplexValue ( )
virtual

Implements Number.

Definition at line 58 of file nnumb.cpp.

59 {
60  return false;
61 }

◆ Raise()

Number * NonNumber::Raise ( Number exponent)
virtual

Implements Number.

Definition at line 123 of file nnumb.cpp.

References NonNumber(), and type.

124 {
125  return new NonNumber(type);
126 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Reciprocal()

Number * NonNumber::Reciprocal ( )
virtual

Implements Number.

Definition at line 168 of file nnumb.cpp.

References NonNumber(), and type.

169 {
170  return new NonNumber(type);
171 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Round()

Number * NonNumber::Round ( )
virtual

Implements Number.

Definition at line 138 of file nnumb.cpp.

References NonNumber(), and type.

139 {
140  return new NonNumber(type);
141 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Secant()

Number * NonNumber::Secant ( )
virtual

Implements Number.

Definition at line 198 of file nnumb.cpp.

References NonNumber(), and type.

199 {
200  return new NonNumber(type);
201 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Signum()

Number * NonNumber::Signum ( )
virtual

Implements Number.

Definition at line 128 of file nnumb.cpp.

References NonNumber(), and type.

129 {
130  return new NonNumber(type);
131 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Sine()

Number * NonNumber::Sine ( )
virtual

Implements Number.

Definition at line 257 of file nnumb.cpp.

References NonNumber(), and type.

258 {
259  return new NonNumber(type);
260 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ SquareRoot()

Number * NonNumber::SquareRoot ( )
virtual

Implements Number.

Definition at line 158 of file nnumb.cpp.

References NonNumber(), and type.

159 {
160  return new NonNumber(type);
161 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Sub()

Number * NonNumber::Sub ( Number other)
virtual

Implements Number.

Definition at line 108 of file nnumb.cpp.

References NonNumber(), and type.

109 {
110  return new NonNumber(type);
111 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Tangent()

Number * NonNumber::Tangent ( )
virtual

Trigonometric tangent function.

Tangent of +INF and -INF is NaN (with signals). Tangent of NaN is NaN.

Signals are not implemented.

Implements Number.

Definition at line 212 of file nnumb.cpp.

References nnnan, and NonNumber().

213 {
214  return new NonNumber(nnnan);
215 }
Definition: nnumb.h:42
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
Here is the call graph for this function:

◆ Trunc()

Number * NonNumber::Trunc ( )
virtual

Implements Number.

Definition at line 133 of file nnumb.cpp.

References NonNumber(), and type.

134 {
135  return new NonNumber(type);
136 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ Unary()

Number * NonNumber::Unary ( )
virtual

Implements Number.

Definition at line 98 of file nnumb.cpp.

References NonNumber(), and type.

99 {
100  return new NonNumber(type);
101 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ VerCosine()

Number * NonNumber::VerCosine ( )
virtual

Implements Number.

Definition at line 337 of file nnumb.cpp.

References NonNumber(), and type.

338 {
339  return new NonNumber(type);
340 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

◆ VerSine()

Number * NonNumber::VerSine ( )
virtual

Implements Number.

Definition at line 332 of file nnumb.cpp.

References NonNumber(), and type.

333 {
334  return new NonNumber(type);
335 }
NonNumber(NonNumberType type)
Definition: nnumb.cpp:33
NonNumberType type
Definition: nnumb.h:142
Here is the call graph for this function:

Member Data Documentation

◆ type


The documentation for this struct was generated from the following files: