Files
workbook/tests/fixtures/special_functions.gnumeric
waozi a231bc3fe5 Complete complex pow parity and sub-second datetime rendering
Complex powers now flow through goffice's go_complex_powx algorithm:
kryon's kry_quad gains the quad-precision machinery it needs — natural
log with scaling and a Newton step, hypot with over/underflow
protection, Carlson's AGM arcsin/arccos/arctan, atan2/atan2pi with
axis and diagonal special cases, reduce-half sinpi/cospi with Newton
refinement, mulmod1 modulo-one argument reduction, and the
correctly-rounded pi/2pi/pihalf/ln2/sqrt2 double-double constants.
IMIGAMMA (and every other complex-power consumer) is now bit-exact
for arbitrary complex arguments; the special_functions fixture gains
the five previously excluded rows.

Datetime cells with a fractional-second component now render
milliseconds like gnumeric (rounded, omitted when zero or carried
into the seconds), so UNIX2DATE handles sub-second timestamps
exactly; the datetime_functions fixture gains those rows too. All 27
fixtures remain 1:1 with ssconvert including round-trips, with the
456-function manifest fully dispatched.
2026-09-05 11:32:26 -03:00

8 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<gnm:Workbook xmlns:gnm="http://www.gnumeric.org/v10.dtd">
<gnm:SheetNameIndex><gnm:SheetName gnm:Cols="6" gnm:Rows="25">Sheet1</gnm:SheetName></gnm:SheetNameIndex>
<gnm:Sheets><gnm:Sheet><gnm:Name>Sheet1</gnm:Name><gnm:MaxCol>5</gnm:MaxCol><gnm:MaxRow>24</gnm:MaxRow><gnm:Cells>
<gnm:Cell Row="0" Col="4">=REDUCEPI(10,1)</gnm:Cell><gnm:Cell Row="1" Col="4">=REDUCEPI(-10,1)</gnm:Cell><gnm:Cell Row="2" Col="4">=REDUCEPI(100,3)</gnm:Cell><gnm:Cell Row="3" Col="4">=REDUCEPI(1e10,1)</gnm:Cell><gnm:Cell Row="4" Col="4">=REDUCEPI(1e20,2)</gnm:Cell><gnm:Cell Row="5" Col="4">=REDUCEPI(0.5,0)</gnm:Cell><gnm:Cell Row="6" Col="4">=REDUCEPI(1e15,-1)</gnm:Cell><gnm:Cell Row="7" Col="4">=REDUCEPI(10,1,TRUE)</gnm:Cell><gnm:Cell Row="8" Col="4">=REDUCEPI(100,3,TRUE)</gnm:Cell><gnm:Cell Row="9" Col="4">=REDUCEPI(1e10,1,TRUE)</gnm:Cell><gnm:Cell Row="10" Col="4">=REDUCEPI(5,-1)</gnm:Cell><gnm:Cell Row="11" Col="4">=REDUCEPI(5,8)</gnm:Cell><gnm:Cell Row="12" Col="4">=REDUCEPI(1e100,7)</gnm:Cell><gnm:Cell Row="13" Col="4">=IMIGAMMA("2","3")</gnm:Cell><gnm:Cell Row="14" Col="4">=IMIGAMMA("0.5","1.5")</gnm:Cell><gnm:Cell Row="15" Col="4">=IMIGAMMA("3","1+i")</gnm:Cell><gnm:Cell Row="16" Col="4">=IMIGAMMA("1","10i")</gnm:Cell><gnm:Cell Row="17" Col="4">=IMIGAMMA("2","3",FALSE)</gnm:Cell><gnm:Cell Row="18" Col="4">=IMIGAMMA("2","3",TRUE,FALSE)</gnm:Cell><gnm:Cell Row="19" Col="4">=IMIGAMMA("-1","2")</gnm:Cell>
<gnm:Cell Row="20" Col="4">=IMIGAMMA("1+i","2+0.5i")</gnm:Cell><gnm:Cell Row="21" Col="4">=IMIGAMMA("2+3i","1-i")</gnm:Cell><gnm:Cell Row="22" Col="4">=IMIGAMMA("0.5-0.25i","-1+2i")</gnm:Cell><gnm:Cell Row="23" Col="4">=IMIGAMMA("2.5","-1")</gnm:Cell><gnm:Cell Row="24" Col="4">=IMIGAMMA("1+2i","5+5i")</gnm:Cell></gnm:Cells></gnm:Sheet></gnm:Sheets>
</gnm:Workbook>