<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst

# The functions defined here allow one to determine the exact area of
# overlap of a rectangle and a circle (written by <NAME>).

from __future__ import division
import numpy as np
cimport numpy as np

from libc.math cimport sqrt, asin, sin

DTYPE = np.float
ctypedef np.float_t DTYPE_t<commit_msg>Ensure compatibility with old versions of Cython<commit_after># Licensed under a 3-clause BSD style license - see LICENSE.rst

# The functions defined here allow one to determine the exact area of
# overlap of a rectangle and a circle (written by <NAME>).

from __future__ import division
import numpy as np
cimport numpy as np

cdef extern from "math.h":

    double asin(double x)
    double sin(double x)
    double sqrt(double x)

DTYPE = np.float
ctypedef np.float_t DTYPE_t
{'fraction_non_alphanumeric': 0.05484247374562427, 'fraction_numerical': 0.002333722287047841, 'mean_word_length': 4.2, 'pattern_counts': {'":': 1, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '95414', 'n_tokens_mistral': 259, 'n_tokens_neox': 247, 'n_words': 122}