Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

<QtCore/qmath.h> - Math Functions

The <QtCore/qmath.h> header provides various math functions.More...

    Functions

    qrealqAcos(qreal v)
    qrealqAsin(qreal v)
    qrealqAtan2(qreal y, qreal x)
    qrealqAtan(qreal v)
    intqCeil(qreal v)
    qrealqCos(qreal v)
    qrealqExp(qreal v)
    intqFloor(qreal v)
    qrealqLn(qreal v)
    qrealqPow(qreal x, qreal y)
    qrealqSin(qreal v)
    qrealqSqrt(qreal v)
    qrealqTan(qreal v)

    Function Documentation

    qrealqAcos(qreal v)

    Returns the arccosine ofv as an angle in radians. Arccosine is the inverse operation of cosine.

    See alsoqAtan(),qAsin(), andqCos().

    qrealqAsin(qreal v)

    Returns the arcsine ofv as an angle in radians. Arcsine is the inverse operation of sine.

    See alsoqSin(),qAtan(), andqAcos().

    qrealqAtan2(qreal y,qreal x)

    Returns the arctangent of a point specified by the coordinatesy andx. This function will return the angle (argument) of that point.

    See alsoqAtan().

    qrealqAtan(qreal v)

    Returns the arctangent ofv as an angle in radians. Arctangent is the inverse operation of tangent.

    See alsoqTan(),qAcos(), andqAsin().

    intqCeil(qreal v)

    Return the ceiling of the valuev.

    The ceiling is the smallest integer that is not less thanv. For example, ifv is 41.2, then the ceiling is 42.

    See alsoqFloor().

    qrealqCos(qreal v)

    Returns the cosine of an anglev in radians.

    See alsoqSin() andqTan().

    qrealqExp(qreal v)

    Returns the exponential function ofe to the power ofv.

    See alsoqLn().

    intqFloor(qreal v)

    Return the floor of the valuev.

    The floor is the largest integer that is not greater thanv. For example, ifv is 41.2, then the floor is 41.

    See alsoqCeil().

    qrealqLn(qreal v)

    Returns the natural logarithm ofv. Natural logarithm uses base e.

    See alsoqExp().

    qrealqPow(qreal x,qreal y)

    Returns the value ofx raised to the power ofy. That is,x is the base andy is the exponent.

    See alsoqSqrt().

    qrealqSin(qreal v)

    Returns the sine of the anglev in radians.

    See alsoqCos() andqTan().

    qrealqSqrt(qreal v)

    Returns the square root ofv. This function returns a NaN ifv is a negative number.

    See alsoqPow().

    qrealqTan(qreal v)

    Returns the tangent of an anglev in radians.

    See alsoqSin() andqCos().

    © 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.


    [8]ページ先頭

    ©2009-2025 Movatter.jp