v-atan-mathe

hio/nwt-gus-hi/v-atan-mathe

Berechnet den Arkustangens.
v-atan-mathe
@/v-atan-mathe
Berechnet den Arkustangens.
Eingangnumber
Eingabewert des Tangens
v-atan-mathe
Eingang
Radius
Radiusnumber
Resultierender Winkel als Radius
To use the node in your project you should have the hio/nwt-gus-hi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

#pragma XOD dirtieness disable

node {
    void evaluate(Context ctx) {
        Number x = getValue<input_Eingabe>(ctx);
        emitValue<output_Radius>(ctx, atan(x));
    }
}

Tabular tests

EingabeRadius
00
-1-0.79~
10.785~
3.141.26~
-3.14-1.26~
1.571~
0.78530.67~
NaNNaN
Inf1.57~
-Inf-1.57~