Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
class Geo GeoHalf

    This is the documentation for Enlighten.

    class Geo GeoHalf

    Sept 09, 2025

    class Geo::GeoHalf

    Convenience value type for a half float.

    All maths is done in floats and converted back to half float after. This can introduce a lot of conversions, so if you are doing a lot of maths you are better off doing it all in floats and using the conversion functions directly.

    Functions

    Name Description
    GeoHalf()

    Constructor.

    GeoHalf(float)

    Construct from 'full' float.

    GeoHalf(u16)

    Construct from u16 representation of a half.

    operator-()

    Arithmetic operators.

    operator float()

    Convert to 'full' float.

    operator*=(GeoHalf)

    Arithmetic operators.

    operator*=(float)

    Arithmetic operators.

    operator/=(GeoHalf)

    Arithmetic operators.

    operator/=(float)

    Arithmetic operators.

    operator+=(const GeoHalf)

    Arithmetic operators.

    operator+=(float)

    Arithmetic operators.

    operator=(const GeoHalf)

    Arithmetic operators.

    operator=(float)

    Arithmetic operators.

    operator-=(GeoHalf)

    Arithmetic operators.

    operator-=(float)

    Arithmetic operators.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf()


    Constructor.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf
    (
        float f
    )


    Construct from 'full' float.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf
    (
        u16 u
    )


    Construct from u16 representation of a half.


    GeoHalf Geo::GeoHalf::operator-


    public: GeoHalf operator-() const


    Arithmetic operators.


    Geo::GeoHalf::operator float


    public: operator float() const


    Convert to 'full' float.


    GeoHalf& Geo::GeoHalf::operator*=


    public: GeoHalf & operator*=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator*=


    public: GeoHalf & operator*=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator/=


    public: GeoHalf & operator/=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator/=


    public: GeoHalf & operator/=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator+=


    public: GeoHalf & operator+=
    (
        const GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator+=


    public: GeoHalf & operator+=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator=


    public: GeoHalf & operator=
    (
        const GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator=


    public: GeoHalf & operator=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator-=


    public: GeoHalf & operator-=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator-=


    public: GeoHalf & operator-=
    (
        float f
    )


    Arithmetic operators.

    , multiple selections available,

    Enlighten API 4.03 Documentation
    Results will update as you type.
      Calendars

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 9, "requestCorrelationId": "fc8f52efa2574f13b04a7f61f76018b5"}