Skip to content

Arguments of arf_mul_2exp_si: mutability #2

@Chris00

Description

@Chris00

The header file arf.h declares

ARF_INLINE void
arf_mul_2exp_si(arf_t y, const arf_t x, slong e)

I therefore do not understand by the second argument of arb_sys::arf::arf_mul_2exp_si is mutable:

pub unsafe extern "C" fn arf_mul_2exp_si(
    y: *mut arf_struct, 
    x: *mut arf_struct, 
    e: mp_limb_signed_t
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions