Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
opt
›
alt
›
python38
›
lib64
›
python3.8
›
test
›
__pycache__
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_math.cpython-38.opt-1.pyc
← Back
U i�f�H � @ s� d dl mZmZmZ d dlmZ d dlZd dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z d dlZdZed�Zed�Zed�ZejjZejjZd\ZZee d kZed kr�ejd ZneZe j �!e�p�e j"Z#e j �$e#d�Z%e j �$e#d�Z&d d� Z'dd� Z(dd� Z)dd� Z*dd� Z+dd� Z,dd� Z-dd� Z.d+dd �Z/G d!d"� d"e0�Z1G d#d$� d$e2�Z3G d%d&� d&ej4�Z5G d'd(� d(ej4�Z6d)d*� Z7ed k�r�e7� dS ),� )�run_unittest�verbose�requires_IEEE_754)�supportNg�h㈵��>�nan�inf�-inf)� ��7y�ACg�):��@g��7y�AC�__main__zmath_testcases.txtzcmath_testcases.txtc C s. t �dt �d| ��d }|dk r*|d }|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. �<q�<dr l )�struct�unpack�pack)�x�n� r �3/opt/alt/python38/lib64/python3.8/test/test_math.py�to_ulps'