On this page
  1. ctypes.c_longdouble
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

ctypes.c_longdouble

Prev: ctypes.c_long | Up: ctypes | Next: ctypes.c_longdouble_complex
Rel: ctypes.addressof, ctypes.alignment, ctypes.ArgumentError, ctypes.Array
Ref: docs.python.org — ctypes.c_longdouble
Tags: #public #python3 #stdlib #ctypes


Import

import ctypes
from ctypes import c_longdouble

Signature & Overview

ctypes.c_longdouble(...)

ctypes.c_longdouble class.

Usage

import ctypes

x = ctypes.c_longdouble(2.5)
assert x.value == 2.5

Gotchas

REPL Inspect

from ctypes import c_longdouble
help(c_longdouble)

Linked from

Related notes