Edit

kc3-lang/kc3/libkc3/u32.h

Branch :

  • Browse

    Commit

  • Author : Baptiste
    Date : 2024-07-30 19:47:32
    Hash : 017c82d9
    Message : wip

  • libkc3/u32.h
  • /* kc3
     * Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
     *
     * Permission is hereby granted to use this software granted the above
     * copyright notice and this permission paragraph are included in all
     * copies and substantial portions of this software.
     *
     * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
     * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
     * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
     * THIS SOFTWARE.
     */
    /* Gen from u.h.in BITS=32 bits=32 */
    #ifndef LIBKC3_U32_H
    #define LIBKC3_U32_H
    
    #include "types.h"
    
    u32 * u32_init_1 (u32 *u, const char *p);
    u32 * u32_init_cast
    (u32 *u, const s_sym * const *type, const s_tag *tag);
    
    u32 * u32_init_copy (u32 *u, const u32 *src);
    u32 * u32_init_str (u32 *u, const s_str *str);
    u32 * u32_random (u32 *u);
    u32 * u32_random_uniform (u32 *u, u32 max);
    s_tag *   u32_sqrt (const u32 x, s_tag *dest);
    
    #endif /* LIBKC3_U32_H */