python (3.11.7)
    e}                       d dl mZmZ d dlmZ d dlZd dlZd dlZd dlZd dl	Z	d dl
Z
d dlZd dlZd dl
Z
dZ ed          Z ed          Z ed          Ze
j        j        Ze
j        j        Zd\  ZZeez   d	k    Zed
k    re
j        d          ZneZe	j                             e          pe	j!        Z"e	j        #                    e"d          Z$e	j        #                    e"d          Z%d
 Z&d Z'd Z(d Z)d Z*d Z+d Z,d$dZ- G d d          Z. G d de/          Z0 G d de1          Z2 G d d          Z3 G d d ej4                  Z5 G d! d"ej4                  Z6d# Z7ed
k    r ej8                     dS dS )%    )verboserequires_IEEE_754)supportNgh㈵>naninf-inf) 7yACg):@g7yAC__main__zmath_testcases.txtzcmath_testcases.txtc                 z    t          j        dt          j        d|                     d         }|dk     r|dz    }|S )a  Convert a non-NaN float x to an integer, in such a way that
    adjacent floats are converted to adjacent integers.  Then
    abs(ulps(x) - ulps(y)) gives the difference in ulps between two
    floats.
    The results from this function will only make sense on platforms
    where native doubles are represented in IEEE 754 binary64 format.
    Note: 0.0 and -0.0 are converted to 0 and -1, respectively.
    z<qz<dr   l            )structunpackpack)xns     B/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_math.pyto_ulpsr   '